Skip to content

Commit bb9c14a

Browse files
davidhildenbrandhcahca
authored andcommitted
hugetlbfs: s390 is always 64bit
No need to check for 64BIT. While at it, let's just select ARCH_SUPPORTS_HUGETLBFS from arch/s390/Kconfig. Signed-off-by: David Hildenbrand <david@redhat.com> Link: https://lore.kernel.org/r/20210908154506.20764-1-david@redhat.com Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
1 parent 9652cb8 commit bb9c14a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/s390/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ config S390
110110
select ARCH_STACKWALK
111111
select ARCH_SUPPORTS_ATOMIC_RMW
112112
select ARCH_SUPPORTS_DEBUG_PAGEALLOC
113+
select ARCH_SUPPORTS_HUGETLBFS
113114
select ARCH_SUPPORTS_NUMA_BALANCING
114115
select ARCH_USE_BUILTIN_BSWAP
115116
select ARCH_USE_CMPXCHG_LOCKREF

fs/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ config ARCH_SUPPORTS_HUGETLBFS
218218

219219
config HUGETLBFS
220220
bool "HugeTLB file system support"
221-
depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
222-
ARCH_SUPPORTS_HUGETLBFS || BROKEN
221+
depends on X86 || IA64 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN
223222
help
224223
hugetlbfs is a filesystem backing for HugeTLB pages, based on
225224
ramfs. For architectures that support it, say Y here and read

0 commit comments

Comments
 (0)