Commit caff44e7 authored by Paul Mundt's avatar Paul Mundt

sh: Set HPAGE_SHIFT for 512MB hugetlb pages.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 9ad3d336
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment