android_kernel_xiaomi_sdm845/arch/sh
Paul Mundt ffb4a73d89 sh: Fix hugetlbfs dependencies for SH-3 && MMU configurations.
The hugetlb dependencies presently depend on SUPERH && MMU while the
hugetlb page size definitions depend on CPU_SH4 or CPU_SH5. This
unfortunately allows SH-3 + MMU configurations to enable hugetlbfs
without a corresponding HPAGE_SHIFT definition, resulting in the build
blowing up.

As SH-3 doesn't support variable page sizes, we tighten up the
dependenies a bit to prevent hugetlbfs from being enabled. These days
we also have a shiny new SYS_SUPPORTS_HUGETLBFS, so switch to using
that rather than adding to the list of corner cases in fs/Kconfig.

Reported-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-10-27 07:22:37 +09:00
..
boards sh: rsk7203 CONFIG_MTD=n fix 2009-10-26 19:46:24 +09:00
boot sh: add uImage.bin target 2009-10-26 19:46:25 +09:00
cchips
configs sh: enable onenand support in kfr2r09 defconfig. 2009-09-25 11:55:07 +09:00
drivers
include Merge branch 'for-linus' of git://neil.brown.name/md 2009-09-24 07:55:29 -07:00
kernel sh: Check for return_to_handler when unwinding the stack 2009-10-26 10:04:56 +09:00
lib
lib64
math-emu
mm sh: Fix hugetlbfs dependencies for SH-3 && MMU configurations. 2009-10-27 07:22:37 +09:00
oprofile
tools
Kconfig sh: Fix hugetlbfs dependencies for SH-3 && MMU configurations. 2009-10-27 07:22:37 +09:00
Kconfig.cpu
Kconfig.debug
Makefile sh: Document uImage.bin target in archhelp. 2009-10-27 07:17:12 +09:00