Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

m32r: test __LITTLE_ENDIAN__ instead of __LITTLE_ENDIAN

Fixes build for me... these are what's tested in byteorder.h...

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Kyle McMartin and committed by
Linus Torvalds
2d019713 4f515cc9

+2 -2
+2 -2
arch/m32r/include/asm/elf.h
··· 82 82 * These are used to set parameters in the core dumps. 83 83 */ 84 84 #define ELF_CLASS ELFCLASS32 85 - #if defined(__LITTLE_ENDIAN) 85 + #if defined(__LITTLE_ENDIAN__) 86 86 #define ELF_DATA ELFDATA2LSB 87 - #elif defined(__BIG_ENDIAN) 87 + #elif defined(__BIG_ENDIAN__) 88 88 #define ELF_DATA ELFDATA2MSB 89 89 #else 90 90 #error no endian defined