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:
9ad3d33
)
sh: Set HPAGE_SHIFT for 512MB hugetlb pages.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 21 Nov 2007 06:23:07 +0000
(15:23 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:51 +0000
(13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/page.h
patch
|
blob
|
history
diff --git
a/include/asm-sh/page.h
b/include/asm-sh/page.h
index e21b0d12e139ee59ae24702b64bca7a5e9135b2b..cdaacefe509b03a5d13918577e76b7452ce19d86 100644
(file)
--- a/
include/asm-sh/page.h
+++ b/
include/asm-sh/page.h
@@
-45,6
+45,8
@@
#define HPAGE_SHIFT 22
#elif defined(CONFIG_HUGETLB_PAGE_SIZE_64MB)
#define HPAGE_SHIFT 26
+#elif defined(CONFIG_HUGETLB_PAGE_SIZE_512MB)
+#define HPAGE_SHIFT 29
#endif
#ifdef CONFIG_HUGETLB_PAGE