projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/hugetlb: clean up ARCH_HAS_GIGANTIC_PAGE
[linux-2.6-block.git]
/
arch
/
x86
/
include
/
asm
/
hugetlb.h
diff --git
a/arch/x86/include/asm/hugetlb.h
b/arch/x86/include/asm/hugetlb.h
index 3a106165e03ad035484df5fb97989265798263df..535af0f2d8ac3059a3f700b42157f464931ad3bf 100644
(file)
--- a/
arch/x86/include/asm/hugetlb.h
+++ b/
arch/x86/include/asm/hugetlb.h
@@
-85,4
+85,8
@@
static inline void arch_clear_hugepage_flags(struct page *page)
{
}
+#ifdef CONFIG_ARCH_HAS_GIGANTIC_PAGE
+static inline bool gigantic_page_supported(void) { return true; }
+#endif
+
#endif /* _ASM_X86_HUGETLB_H */