aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2010-10-15 21:17:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-15 19:37:50 -0700
commit2d019713b7acbc01d769a1e512ca1f9a04c30bd0 (patch)
tree7d27e26c3aa2c9aa2a084395ead52d00ffd048a4
parent4f515cc93248face6ba45dd296dc3e7381848ab7 (diff)
downloadmrst-s0i3-test-2d019713b7acbc01d769a1e512ca1f9a04c30bd0.tar.gz
mrst-s0i3-test-2d019713b7acbc01d769a1e512ca1f9a04c30bd0.tar.xz
mrst-s0i3-test-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>
-rw-r--r--arch/m32r/include/asm/elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m32r/include/asm/elf.h b/arch/m32r/include/asm/elf.h
index 2f85412ef73..b8da7d0574d 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