projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1183649
)
mm/migrate.c: fix compilation error
author
Michal Nazarewicz
<
[email protected]
>
Wed, 22 Dec 2010 01:24:26 +0000
(17:24 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 23 Dec 2010 03:43:34 +0000
(19:43 -0800)
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]
>
mm/migrate.c
patch
|
blob
|
history
diff --git
a/mm/migrate.c
b/mm/migrate.c
index fe5a3c6a54260f2ae9999fbaabe03082a818982f..6ae8a66a704575764ecf068c3f9a02bcc0a14575 100644
(file)
--- 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))