summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-04-23 08:27:18 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2014-04-23 08:27:18 +1000
commit63cb98befa17ca26904bd5708083053352091b79 (patch)
treec99bf28492fe3ce925c959d7ac397d959fa1befb /mm
parentc474a04ec029ad9faddba3a36f3df11467889032 (diff)
mm-gupc-tweaks-fix
fix x86_64 allnoconfig build mm/gup.c: In function 'follow_page_pte': mm/gup.c:100: error: implicit declaration of function 'trylock_page' mm/gup.c:109: error: implicit declaration of function 'unlock_page' mm/gup.c: In function '__get_user_pages': mm/gup.c:467: error: implicit declaration of function 'flush_anon_page' mm/gup.c:468: error: implicit declaration of function 'flush_dcache_page' Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/gup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/gup.c b/mm/gup.c
index af925a315829..5238000726fa 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -5,6 +5,7 @@
#include <linux/hugetlb.h>
#include <linux/mm.h>
+#include <linux/pagemap.h>
#include <linux/rmap.h>
#include <linux/swap.h>
#include <linux/swapops.h>