diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-21 01:23:07 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:51 -0500 |
commit | caff44e7db86243fd6163bc79e543123b0139a46 (patch) | |
tree | 07fc47b9519020af4a3e989adb965a4137aab8f5 /include/asm-sh | |
parent | 9ad3d336a2f495ce782a744bc6e49bf7f9ed018b (diff) |
sh: Set HPAGE_SHIFT for 512MB hugetlb pages.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/page.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/page.h b/include/asm-sh/page.h index e21b0d12e139..cdaacefe509b 100644 --- a/include/asm-sh/page.h +++ b/include/asm-sh/page.h | |||
@@ -45,6 +45,8 @@ | |||
45 | #define HPAGE_SHIFT 22 | 45 | #define HPAGE_SHIFT 22 |
46 | #elif defined(CONFIG_HUGETLB_PAGE_SIZE_64MB) | 46 | #elif defined(CONFIG_HUGETLB_PAGE_SIZE_64MB) |
47 | #define HPAGE_SHIFT 26 | 47 | #define HPAGE_SHIFT 26 |
48 | #elif defined(CONFIG_HUGETLB_PAGE_SIZE_512MB) | ||
49 | #define HPAGE_SHIFT 29 | ||
48 | #endif | 50 | #endif |
49 | 51 | ||
50 | #ifdef CONFIG_HUGETLB_PAGE | 52 | #ifdef CONFIG_HUGETLB_PAGE |