mm: Make generic weak get_user_pages_fast and EXPORT_GPL it

Out of line get_user_pages_fast fallback implementation, make it a weak
symbol, get rid of CONFIG_HAVE_GET_USER_PAGES_FAST.

Export the symbol to modules so lguest can use it.

Signed-off-by: Nick Piggin <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
This commit is contained in:
Rusty Russell 2008-08-12 17:52:52 -05:00
commit 912985dce4
6 changed files with 16 additions and 29 deletions

View file

@ -77,9 +77,6 @@ config FLAT_NODE_MEM_MAP
def_bool y
depends on !SPARSEMEM
config HAVE_GET_USER_PAGES_FAST
bool
#
# Both the NUMA code and DISCONTIGMEM use arrays of pg_data_t's
# to represent different areas of memory. This variable allows