Skip to content

Commit 2d01971

Browse files
jkkmtorvalds
authored andcommitted
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>
1 parent 4f515cc commit 2d01971

File tree

1 file changed

+2
-2
lines changed
  • arch/m32r/include/asm

1 file changed

+2
-2
lines changed

arch/m32r/include/asm/elf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ typedef elf_fpreg_t elf_fpregset_t;
8282
* These are used to set parameters in the core dumps.
8383
*/
8484
#define ELF_CLASS ELFCLASS32
85-
#if defined(__LITTLE_ENDIAN)
85+
#if defined(__LITTLE_ENDIAN__)
8686
#define ELF_DATA ELFDATA2LSB
87-
#elif defined(__BIG_ENDIAN)
87+
#elif defined(__BIG_ENDIAN__)
8888
#define ELF_DATA ELFDATA2MSB
8989
#else
9090
#error no endian defined

0 commit comments

Comments
 (0)