Ver Fonte

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>
Michal Nazarewicz há 14 anos atrás
pai
commit
0d1836c366
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      mm/migrate.c

+ 2 - 0
mm/migrate.c

@@ -35,6 +35,8 @@
 #include <linux/hugetlb.h>
 #include <linux/hugetlb.h>
 #include <linux/gfp.h>
 #include <linux/gfp.h>
 
 
+#include <asm/tlbflush.h>
+
 #include "internal.h"
 #include "internal.h"
 
 
 #define lru_to_page(_head) (list_entry((_head)->prev, struct page, lru))
 #define lru_to_page(_head) (list_entry((_head)->prev, struct page, lru))