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 <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Michal Nazarewicz 2010-12-21 17:24:26 -08:00 • committed by Linus Torvalds
commit 0d1836c366

View file

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