• Luc Van Oostenryck's avatar
    c6x: pass endianness info to sparse · 85fa2cc5
    Luc Van Oostenryck authored
    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's avatarLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
    Signed-off-by: default avatarMark Salter <msalter@redhat.com>
    85fa2cc5
Name
Last commit
Last update
..
boot Loading commit data...
configs Loading commit data...
include Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
platforms Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...