sh: Set HPAGE_SHIFT for 512MB hugetlb pages.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 21 Nov 2007 06:23:07 +0000 (15:23 +0900)
committerPaul 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

index e21b0d12e139ee59ae24702b64bca7a5e9135b2b..cdaacefe509b03a5d13918577e76b7452ce19d86 100644 (file)
@@ -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