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
/
s390
/
include
/
asm
/
hugetlb.h
diff --git
a/arch/s390/include/asm/hugetlb.h
b/arch/s390/include/asm/hugetlb.h
index cd546a245c68bf08d40d17bfc0bf7b3f647c3a22..89057b2cc8fe07da43a4f5059f64a9f7e7c31263 100644
(file)
--- a/
arch/s390/include/asm/hugetlb.h
+++ b/
arch/s390/include/asm/hugetlb.h
@@
-112,4
+112,7
@@
static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot)
return pte_modify(pte, newprot);
}
+#ifdef CONFIG_ARCH_HAS_GIGANTIC_PAGE
+static inline bool gigantic_page_supported(void) { return true; }
+#endif
#endif /* _ASM_S390_HUGETLB_H */