]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Disable 64kB hugetlbpage size when using 64kB PAGE_SIZE.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 6 Aug 2008 06:10:49 +0000 (15:10 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Aug 2008 11:17:49 +0000 (20:17 +0900)
commit68b7c24cf9c699ed93c4a70f958b5bb3943723bc
treebecce75d1e70e9e9834a6b3335ae23ba2bcec8a7
parentd09d328c119a9ac20615fc8b1431aa417955ad4d
sh: Disable 64kB hugetlbpage size when using 64kB PAGE_SIZE.

Presently we oops in mm/hugetlb.c:1325, which is the order == 0 test in
hugetlb_add_hstate() called at initialization time. So, disable 64kB
huge pages when we're using a 64kB PAGE_SIZE. On most parts this will
force the default to be 1MB huge pages.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/Kconfig