s390: add CPU_BIG_ENDIAN config option
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 14 Apr 2016 07:00:27 +0000 (09:00 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 15 Apr 2016 16:01:52 +0000 (18:01 +0200)
commit2fd92273646abad21766ddfbfa00b6f927362308
tree7c97d2f9218868587513dad00c833a947f7a524a
parent8497695243f70fd19ed6cf28b63584f1b608b5f9
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>
arch/s390/Kconfig