]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/Kconfig: enable HUGETLBFS only if ARCH_SUPPORTS_HUGETLBFS
authorAnshuman Khandual <anshuman.khandual@arm.com>
Fri, 11 Jul 2025 10:29:34 +0000 (15:59 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 25 Jul 2025 02:12:38 +0000 (19:12 -0700)
commit6470fb2bb1812cac0a80a290bb193a9d866dd39d
tree414527d57341d95ebc5c899bf040a68ad8fc8119
parenta5867a218d7ca15359e762fa067d867d738689e2
fs/Kconfig: enable HUGETLBFS only if ARCH_SUPPORTS_HUGETLBFS

Enable HUGETLBFS only when platform subscrbes via ARCH_SUPPORTS_HUGETLBFS.
Hence select ARCH_SUPPORTS_HUGETLBFS on existing x86 and sparc for their
continuing HUGETLBFS support.  While here also just drop existing 'BROKEN'
dependency.

Link: https://lkml.kernel.org/r/20250711102934.2399533-1-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/Kconfig
arch/x86/Kconfig
fs/Kconfig