summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMichal Nazarewicz <m.nazarewicz@samsung.com>2010-12-22 02:24:26 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-12-23 04:43:34 +0100
commit0d1836c366157994474afd29632992375a3dd20c (patch)
tree7083f69ed1ed8900a8883d675f225596fb0f553a /mm
parentrtc: rs5c372: fix buffer size (diff)
downloadlinux-0d1836c366157994474afd29632992375a3dd20c.tar.xz
linux-0d1836c366157994474afd29632992375a3dd20c.zip
mm/migrate.c: fix compilation error
GCC complained about update_mmu_cache() not being defined in migrate.c. Including <asm/tlbflush.h> seems to solve the problem. Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/migrate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index fe5a3c6a5426..6ae8a66a7045 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -35,6 +35,8 @@
#include <linux/hugetlb.h>
#include <linux/gfp.h>
+#include <asm/tlbflush.h>
+
#include "internal.h"
#define lru_to_page(_head) (list_entry((_head)->prev, struct page, lru))