diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2010-10-16 03:17:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-16 04:37:50 +0200 |
commit | 2d019713b7acbc01d769a1e512ca1f9a04c30bd0 (patch) | |
tree | 7d27e26c3aa2c9aa2a084395ead52d00ffd048a4 /arch/m32r/include | |
parent | m32r: add kernel/.gitignore and ignore vmlinux.lds (diff) | |
download | linux-2d019713b7acbc01d769a1e512ca1f9a04c30bd0.tar.xz linux-2d019713b7acbc01d769a1e512ca1f9a04c30bd0.zip |
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/include')
-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 2f85412ef730..b8da7d0574d2 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 |