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>
This commit is contained in:
Michal Nazarewicz 2010-12-21 17:24:26 -08:00 коммит произвёл Linus Torvalds
Родитель 118364948f
Коммит 0d1836c366
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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))