Skip to content

Commit

Permalink
s390: add CPU_BIG_ENDIAN config option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Apr 15, 2016
1 parent 8497695 commit 2fd9227
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ config MMU
config ZONE_DMA
def_bool y

config CPU_BIG_ENDIAN
def_bool y

config LOCKDEP_SUPPORT
def_bool y

Expand Down

0 comments on commit 2fd9227

Please sign in to comment.