nommu: vmalloc_32_user()/vm_insert_page() and symbol exports.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 21 Jul 2007 11:37:25 +0000 (04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:14 +0000 (17:49 -0700)
commitb50731732f926d6c49fd0724616a7344c31cd5cf
tree2bc72fc6bf200b3696666ff1ef21f7e60a379d35
parentdf336d1c7b6fd510fa6d3a028f999e7586c7026e
nommu: vmalloc_32_user()/vm_insert_page() and symbol exports.

Trying to survive an allmodconfig on a nommu platform results in many
screen lengths of module unhappiness.  Many of the mmap related things that
binfmt_flat hooks in to are never exported despite being global, and there
are also missing definitions for vmalloc_32_user() and vm_insert_page().

I've implemented vmalloc_32_user() trying to stick as close to the
mm/vmalloc.c implementation as possible, though we don't have any need for
VM_USERMAP, so groveling for the VMA can be skipped.  vm_insert_page() has
been stubbed for now in order to keep the build happy.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/nommu.c