Skip to contentSkip to conversation

hugetlbfs: s390 is always 64bit

PATCH In review David Hildenbrand 2 participants 3 messages Sep 8, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hugetlbfs: s390 is always 64bit

No need to check for 64BIT. While at it, let's just select ARCH_SUPPORTS_HUGETLBFS from arch/s390x/Kconfig.

Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Gerald Schaefer <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Mike Kravetz <[email protected]>
---
 arch/s390/Kconfig | 1 +
 fs/Kconfig        | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/s390/Kconfig +1 -0
index a0e2130f0100..0113e8f703e5 100644
@@ -110,6 +110,7 @@ config S390
 	select ARCH_STACKWALK
 	select ARCH_SUPPORTS_ATOMIC_RMW
 	select ARCH_SUPPORTS_DEBUG_PAGEALLOC
+	select ARCH_SUPPORTS_HUGETLBFS
 	select ARCH_SUPPORTS_NUMA_BALANCING
 	select ARCH_USE_BUILTIN_BSWAP
 	select ARCH_USE_CMPXCHG_LOCKREF
fs/Kconfig +1 -2
index a7749c126b8e..44f5dba9f704 100644
@@ -228,8 +228,7 @@ config ARCH_SUPPORTS_HUGETLBFS
 
 config HUGETLBFS
 	bool "HugeTLB file system support"
-	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
-		   ARCH_SUPPORTS_HUGETLBFS || BROKEN
+	depends on X86 || IA64 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN
 	help
 	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
 	  ramfs. For architectures that support it, say Y here and read

base-commit: 7d2a07b769330c34b4deabeed939325c77a7ec2f

Signature · 1 line
2.31.1
#1 lore raw
Quoted 12 lines · David Hildenbrand

No need to check for 64BIT. While at it, let's just select ARCH_SUPPORTS_HUGETLBFS from arch/s390x/Kconfig.

Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Gerald Schaefer <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Mike Kravetz <[email protected]>

^ wishful thinking, lol

Signature · 3 lines
Thanks,

David / dhildenb
maintainer
#2 lore raw
In reply to David Hildenbrand
Quoted 2 lines · David Hildenbrand

No need to check for 64BIT. While at it, let's just select ARCH_SUPPORTS_HUGETLBFS from arch/s390x/Kconfig.

                                    ^^^^^

s390 :)

Quoted 5 lines
---
 arch/s390/Kconfig | 1 +
 fs/Kconfig        | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

I'll apply this to the s390 tree. Thanks David!