Hugh Dickins
66f0dc481e
mm: move sys_mmap_pgoff from util.c
...
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: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-30 12:23:27 -08:00
..
2009-12-03 13:49:43 +01:00
2009-12-15 08:53:20 -08:00
2009-06-16 11:19:36 +02:00
2009-04-01 08:59:13 -07:00
2009-06-30 18:56:00 -07:00
2009-06-16 19:47:28 -07:00
2009-04-03 12:23:01 +02:00
2009-09-27 11:39:25 -07:00
2009-12-16 12:16:50 -05:00
2009-02-10 10:48:42 -08:00
2009-11-10 04:15:47 +01:00
2009-12-15 08:53:24 -08:00
2009-12-16 12:20:01 +01:00
2009-06-16 19:47:28 -07:00
2009-12-16 12:19:59 +01:00
2009-12-21 19:56:42 +01:00
2009-09-21 15:14:57 +02:00
2009-06-15 15:48:33 +02:00
2009-06-24 15:13:48 +09:00
2009-12-17 16:00:19 -08:00
2009-12-15 08:53:20 -08:00
2009-06-12 10:27:37 +02:00
2009-12-16 12:20:00 +01:00
2009-12-16 12:16:49 -05:00
2009-12-16 12:36:49 -08:00
2009-12-15 08:53:20 -08:00
2009-12-21 19:56:42 +01:00
2009-12-16 12:36:49 -08:00
2009-12-15 08:53:20 -08:00
2009-09-22 07:17:35 -07:00
2009-12-15 08:53:23 -08:00
2009-12-15 08:53:24 -08:00
2009-12-15 08:53:23 -08:00
2008-08-20 15:40:30 -07:00
2009-12-30 12:23:27 -08:00
2009-09-22 07:17:42 -07:00
2009-09-22 07:17:31 -07:00
2009-05-18 11:22:24 +01:00
2009-09-21 14:28:04 +02:00
2009-12-11 06:44:58 -05:00
2009-01-14 14:15:23 +01:00
2009-12-30 12:23:27 -08:00
2009-12-16 07:20:07 -08:00
2009-12-23 21:01:16 +01:00
2009-09-22 07:17:26 -07:00
2009-12-15 08:53:16 -08:00
2008-11-06 15:41:19 -08:00
2009-12-03 13:54:25 +01:00
2009-12-15 08:53:24 -08:00
2009-12-08 10:02:12 +09:00
2007-10-20 01:27:18 +02:00
2009-09-24 09:34:52 +09:30
2009-12-17 15:45:32 -08:00
2009-12-16 07:20:07 -08:00
2009-12-16 19:48:48 -05:00
2009-12-17 17:00:20 -08:00
2009-08-06 11:36:25 +03:00
2009-12-14 10:13:22 -08:00
2009-09-22 07:17:26 -07:00
2009-09-22 07:17:26 -07:00
2009-09-22 07:17:35 -07:00
2009-09-22 07:17:38 -07:00
2009-12-15 08:53:19 -08:00
2009-06-23 12:50:05 -07:00
2009-12-16 07:20:07 -08:00
2009-12-30 12:23:27 -08:00
2009-12-15 08:53:13 -08:00
2009-12-15 08:53:21 -08:00
2009-12-15 08:53:16 -08:00