projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f515cc
)
m32r: test __LITTLE_ENDIAN__ instead of __LITTLE_ENDIAN
author
Kyle McMartin
<kyle@mcmartin.ca>
Sat, 16 Oct 2010 01:17:16 +0000
(21:17 -0400)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 16 Oct 2010 02:37:50 +0000
(19:37 -0700)
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>
arch/m32r/include/asm/elf.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/m32r/include/asm/elf.h
b/arch/m32r/include/asm/elf.h
index 2f85412ef7302a0aedaf1b5e26f63719c69dc033..b8da7d0574d20635f489315ea8caf957d063be08 100644
(file)
--- 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