1. 31 12月, 2009 2 次提交
    • H
      mm: move sys_mmap_pgoff from util.c · 66f0dc48
      Hugh Dickins 提交于
      Move sys_mmap_pgoff() from mm/util.c to mm/mmap.c and mm/nommu.c,
      where we'd expect to find such code: especially now that it contains
      the MAP_HUGETLB handling.  Revert mm/util.c to how it was in 2.6.32.
      
      This patch just ignores MAP_HUGETLB in the nommu case, as in 2.6.32,
      whereas 2.6.33-rc2 reported -ENOSYS.  Perhaps validate_mmap_request()
      should reject it with -EINVAL?  Add that later if necessary.
      Signed-off-by: NHugh Dickins <hugh.dickins@tiscali.co.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      66f0dc48
    • J
      libsrp: fix compile failure · 75c85a0b
      James Bottomley 提交于
      commit 45465487 ("kfifo: move struct
      kfifo in place") caused a compile failure in ibmvscsitgt.c because it
      changed a pointer to kfifo in the libsrp.h structure to a direct
      inclusion without including <linux/kfifo.h>.
      
      The fix is simple, just add the include, but how did this happen? This
      change, introduced at -rc2, hardly looks like a bug fix, and it clearly
      didn't go through linux-next, which would have picked up this compile
      failure (it only occurs on ppc because of the ibm virtual scsi target).
      
      [ Apparently all of -mm wasn't in linux-next.. ]
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      75c85a0b
  2. 25 12月, 2009 10 次提交
  3. 24 12月, 2009 28 次提交