From: Andrew Morton Cc: Andi Kleen Cc: Andy Whitcroft Cc: Badari Pulavarty Cc: Dave Kleikamp Cc: Ingo Molnar Cc: Jens Axboe Cc: Nick Piggin Cc: Thomas Gleixner Cc: Zach Brown Signed-off-by: Andrew Morton --- include/linux/mm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN include/linux/mm.h~mm-introduce-get_user_pages_fast-fix include/linux/mm.h --- a/include/linux/mm.h~mm-introduce-get_user_pages_fast-fix +++ a/include/linux/mm.h @@ -12,7 +12,6 @@ #include #include #include -#include /* for __HAVE_ARCH_GET_USER_PAGES_FAST */ struct mempolicy; struct anon_vma; @@ -829,7 +828,7 @@ extern int mprotect_fixup(struct vm_area struct vm_area_struct **pprev, unsigned long start, unsigned long end, unsigned long newflags); -#ifdef __HAVE_ARCH_GET_USER_PAGES_FAST +#ifdef CONFIG_HAVE_GET_USER_PAGES_FAST /* * get_user_pages_fast provides equivalent functionality to get_user_pages, * operating on current and current->mm (force=0 and doesn't return any vmas). _