1. 13 Oct, 2006 8 commits
    • Franck Bui-Huu's avatar
      [PATCH] Fix up mmap_kmem · 99a10a60
      Franck Bui-Huu authored
      vma->vm_pgoff is an pfn _offset_ relatif to the begining
      of the memory start. The previous code was doing at first:
      
      	vma->vm_pgoff << PAGE_SHIFT
      
      which results into a wrong physical address since some
      platforms have a physical mem start that can be different
      from 0. After that the previous call __pa() on this
      wrong physical address, however __pa() is used to convert
      a _virtual_ address into a physical one.
      
      This patch rewrites this convertion. It calculates the
      pfn of PAGE_OFFSET which is the pfn of the mem start
      then it adds the vma->vm_pgoff to it.
      
      It also uses virt_to_phys() instead of __pa() since the
      latter shouldn't be used by drivers.
      Signed-off-by: default avatarFranck Bui-Huu <fbuihuu@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      99a10a60
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes · a5344a95
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes:
        [GFS2] Update git tree name/location
        [DLM] fix iovec length in recvmsg
        [GFS2] Pass the correct value to kunmap_atomic
        [GFS2] Fix bug where lock not held
        [DLM] Kconfig: don't show an empty DLM menu
        [GFS2] Fix uninitialised variable
        [GFS2] Fix a size calculation error
      a5344a95
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/voyager-2.6 · 411fdc1a
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/jejb/voyager-2.6:
        [VOYAGER] fix up ptregs removal mess
        [VOYAGER] fix up attribute packed specifiers in voyager.h
        [VOYAGER] fix genirq mess
      411fdc1a
    • Petr Vandrovec's avatar
      [PATCH] Get core dump code to work... · 7f14daa1
      Petr Vandrovec authored
      The file based core dump code was broken by pipe changes - a relative
      llseek returns the absolute file position on success, not the relative
      one, so dump_seek() always failed when invoked with non-zero current
      position.
      
      Only success/failure can be tested with relative lseek, we have to trust
      kernel that on success we've got right file offset.  With this fix in
      place I have finally real core files instead of 1KB fragments...
      Signed-off-by: default avatarPetr Vandrovec <petr@vandrovec.name>
      [ Cleaned it up a bit while here - use SEEK_CUR instead of hardcoding 1 ]
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      7f14daa1
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 12e36b2f
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (27 commits)
        [CIFS] Missing flags2 for DFS
        [CIFS] Workaround incomplete byte length returned by some
        [CIFS] cifs Kconfig: don't select CONNECTOR
        [CIFS] Level 1 QPathInfo needed for proper OS2 support
        [CIFS] fix typo in previous patch
        [CIFS] Fix old DOS time conversion to handle timezone
        [CIFS] Do not need to adjust for Jan/Feb for leap day
        [CIFS] Fix leaps year calculation for years after 2100
        [CIFS] readdir (ffirst) enablement of accurate timestamps from legacy servers
        [CIFS] Fix compiler warning with previous patch
        [CIFS] Fix typo
        [CIFS] Allow for 15 minute TZs (e.g. Nepal) and be more explicit about
        [CIFS] Fix readdir of large directories for backlevel servers
        [CIFS] Allow LANMAN21 support even in both POSIX non-POSIX path
        [CIFS] Make use of newer QFSInfo dependent on capability bit instead of
        [CIFS] Do not send newer QFSInfo to legacy servers which can not support it
        [CIFS] Fix typo in name of new cifs_show_stats
        [CIFS] Rename server time zone field
        [CIFS] Handle legacy servers which return undefined time zone
        [CIFS] CIFS support for /proc/<pid>/mountstats part 1
        ...
      
      Manual conflict resolution in fs/cifs/connect.c
      12e36b2f
    • James Bottomley's avatar
      [VOYAGER] fix up ptregs removal mess · 81c06b10
      James Bottomley authored
      Apparently whoever converted voyager never actually checked that the
      patch would compile ...
      
      Remove as much of the pt_regs references as possible and move the
      remaining ones into line with what's in x86 generic.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      81c06b10
    • James Bottomley's avatar
      [VOYAGER] fix up attribute packed specifiers in voyager.h · 58f07943
      James Bottomley authored
      The old style (attribute on each structure entry) never really worked.
      Move it to an attribute per structure
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      58f07943
    • James Bottomley's avatar
      [VOYAGER] fix genirq mess · c771746e
      James Bottomley authored
      The implementation of genirq in x86 completely broke voyager (and
      presumably visws).  Since it's plugged into so much of the x86
      infrastructure, you can't expect it to work unconverted.
      
      This patch introduces a voyager IRQ handler type and switches voyager
      to the genirq infrastructure.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      c771746e
  2. 12 Oct, 2006 32 commits