diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2010-10-15 21:17:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-15 19:37:50 -0700 |
commit | 2d019713b7acbc01d769a1e512ca1f9a04c30bd0 (patch) | |
tree | 7d27e26c3aa2c9aa2a084395ead52d00ffd048a4 /arch/m32r | |
parent | 4f515cc93248face6ba45dd296dc3e7381848ab7 (diff) | |
download | op-kernel-dev-2d019713b7acbc01d769a1e512ca1f9a04c30bd0.zip op-kernel-dev-2d019713b7acbc01d769a1e512ca1f9a04c30bd0.tar.gz |
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>
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/include/asm/elf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m32r/include/asm/elf.h b/arch/m32r/include/asm/elf.h index 2f85412..b8da7d0 100644 --- a/arch/m32r/include/asm/elf.h +++ b/arch/m32r/include/asm/elf.h @@ -82,9 +82,9 @@ typedef elf_fpreg_t elf_fpregset_t; * These are used to set parameters in the core dumps. */ #define ELF_CLASS ELFCLASS32 -#if defined(__LITTLE_ENDIAN) +#if defined(__LITTLE_ENDIAN__) #define ELF_DATA ELFDATA2LSB -#elif defined(__BIG_ENDIAN) +#elif defined(__BIG_ENDIAN__) #define ELF_DATA ELFDATA2MSB #else #error no endian defined |