2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-25 11:04:01 +08:00
linux-next/arch/c6x
Luc Van Oostenryck 85fa2cc511 c6x: pass endianness info to sparse
c6x depends on the macro '_BIG_ENDIAN' being defined or not
to correctly select or define endian-specific macros, structures
or pieces of code.

This macro is predefined by the compiler but sparse knows nothing
about it and thus may pre-process files differently from what
gcc would.

Fix this by passing '-D_BIG_ENDIAN' when compiling a big-endian
kernel, like GCC would have done.

To: Mark Salter <msalter@redhat.com>
To: Aurelien Jacquiot <a-jacquiot@ti.com>
CC: linux-c6x-dev@linux-c6x.org
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
2018-04-10 09:58:58 -04:00
..
boot DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
configs c6x: defconfig: Cleanup from old Kconfig options 2017-08-24 09:34:01 -04:00
include The core framework has a handful of patches this time around, mostly due 2018-02-01 16:56:07 -08:00
kernel c6x: remove unused KTHREAD_SIZE definition 2018-04-10 09:58:38 -04:00
lib C6X: library code 2011-10-06 19:48:23 -04:00
mm Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
platforms c6x: fix platforms/plldata.c get_coreid build error 2018-04-10 09:58:38 -04:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile c6x: pass endianness info to sparse 2018-04-10 09:58:58 -04:00