s390: pass endianness info to sparse
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 31 Oct 2017 17:22:08 +0000 (18:22 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 2 Nov 2017 06:52:25 +0000 (07:52 +0100)
commit3b42c17a7e264ce4b351d2de205d4c39f725af0f
tree9c87205ea068029c3bc3464fa887d4054e9a2fea
parentb82a5e4ea8f6de3cae47fc6223b1372fcf8f1081
s390: pass endianness info to sparse

s390 is big-endian only but sparse assumes the same endianness
as the building machine.
This is problematic for code which expect __BYTE_ORDER__ being
correctly predefined by the compiler which sparse can then
pre-process differently from what gcc would, depending on the
building machine endianness.

Fix this by letting sparse know about the architecture endianness.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Makefile