diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-10-31 18:22:02 +0100 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2018-04-10 15:58:58 +0200 |
commit | 85fa2cc51104ee5b529ce85b12f4c8421888544f (patch) | |
tree | 8c775705f51d8c92a463e354955b85b32e0db965 /block/t10-pi.c | |
parent | c6x: fix platforms/plldata.c get_coreid build error (diff) | |
download | linux-85fa2cc51104ee5b529ce85b12f4c8421888544f.tar.xz linux-85fa2cc51104ee5b529ce85b12f4c8421888544f.zip |
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>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions