summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/unaligned.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/unaligned.h')
-rw-r--r--arch/arm/include/asm/unaligned.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/unaligned.h b/arch/arm/include/asm/unaligned.h
index 44593a89490..0a228fb8eea 100644
--- a/arch/arm/include/asm/unaligned.h
+++ b/arch/arm/include/asm/unaligned.h
@@ -8,7 +8,7 @@
/*
* Select endianness
*/
-#ifndef __ARMEB__
+#if __BYTE_ORDER == __LITTLE_ENDIAN
#define get_unaligned __get_unaligned_le
#define put_unaligned __put_unaligned_le
#else