]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
parisc: Pass endianness info to sparse
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 31 Oct 2017 17:21:59 +0000 (18:21 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 17 Nov 2017 14:27:33 +0000 (15:27 +0100)
commit3744d988c05a27f40408003352841aefadba1324
treef3c77aba4184af7ebfb463fa551334109be5970d
parentbf7b4c1b3c92f246a535a7c792177041d0442011
parisc: Pass endianness info to sparse

parisc 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.

Fix this by letting sparse know about the architecture endianness.

To: James Bottomley <jejb@parisc-linux.org>
To: Helge Deller <deller@gmx.de>
CC: linux-parisc@vger.kernel.org
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Makefile