Paul Mundt f905bc447c nommu: add new vmalloc_user() and remap_vmalloc_range() interfaces.
This builds on top of the earlier vmalloc_32_user() work introduced by
b50731732f926d6c49fd0724616a7344c31cd5cf, as we now have places in the nommu
allmodconfig that hit up against these missing APIs.

As vmalloc_32_user() is already implemented, this is moved over to
vmalloc_user() and simply made a wrapper.  As all current nommu platforms are
32-bit addressable, there's no special casing we have to do for ZONE_DMA and
things of that nature as per GFP_VMALLOC32.

remap_vmalloc_range() needs to check VM_USERMAP in order to figure out whether
we permit the remap or not, which means that we also have to rework the
vmalloc_user() code to grovel for the VMA and set the flag.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: David McCullough <david_mccullough@securecomputing.com>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-05 09:44:21 -08:00
..
2008-02-05 09:44:18 -08:00
2008-02-05 09:44:18 -08:00
2008-02-05 09:44:19 -08:00
2008-02-05 09:44:19 -08:00
2008-02-05 09:44:19 -08:00
2007-10-20 01:27:18 +02:00
2008-02-05 09:44:19 -08:00
2007-02-15 09:57:03 -08:00
2008-02-05 09:44:18 -08:00
2007-10-18 14:37:31 -07:00
2007-05-21 09:18:19 -07:00
2008-02-05 09:44:20 -08:00
2008-02-05 09:44:19 -08:00
2007-10-20 01:27:18 +02:00
2007-10-17 08:42:45 -07:00
2008-02-05 09:44:18 -08:00
2008-02-04 10:56:02 -08:00
2008-02-05 09:44:19 -08:00
2008-02-05 09:44:18 -08:00
2007-11-14 18:45:41 -08:00
2007-10-20 01:27:18 +02:00
2008-02-05 09:44:18 -08:00