Skip to content

Commit 2fd9227

Browse files
heicarstMartin Schwidefsky
authored andcommitted
s390: add CPU_BIG_ENDIAN config option
Make sure that s390 appears to be a big endian machine by defining this config option. Without this s390 appears to be little endian as seen by e.g. the recordmount script: "perl ./scripts/recordmcount.pl "s390" "little" "64"" This has no practical impact within the script since the endian variable is only evaluated for mips. However there are already a couple of common code places which evaluate this config option. None of them is relevant for s390 currently though. To avoid any issues in the future (and fix the recordmcount oddity) add the new config option. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 8497695 commit 2fd9227

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/s390/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ config MMU
44
config ZONE_DMA
55
def_bool y
66

7+
config CPU_BIG_ENDIAN
8+
def_bool y
9+
710
config LOCKDEP_SUPPORT
811
def_bool y
912

0 commit comments

Comments
 (0)