git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: hugetlb: add arch hook for clearing page flags before entering pool
[pandora-kernel.git]
/
arch
/
sh
/
include
/
asm
/
hugetlb.h
diff --git
a/arch/sh/include/asm/hugetlb.h
b/arch/sh/include/asm/hugetlb.h
index
967068f
..
b3808c7
100644
(file)
--- a/
arch/sh/include/asm/hugetlb.h
+++ b/
arch/sh/include/asm/hugetlb.h
@@
-1,6
+1,7
@@
#ifndef _ASM_SH_HUGETLB_H
#define _ASM_SH_HUGETLB_H
#ifndef _ASM_SH_HUGETLB_H
#define _ASM_SH_HUGETLB_H
+#include <asm/cacheflush.h>
#include <asm/page.h>
#include <asm/page.h>
@@
-89,4
+90,9
@@
static inline void arch_release_hugepage(struct page *page)
{
}
{
}
+static inline void arch_clear_hugepage_flags(struct page *page)
+{
+ clear_bit(PG_dcache_clean, &page->flags);
+}
+
#endif /* _ASM_SH_HUGETLB_H */
#endif /* _ASM_SH_HUGETLB_H */