summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/byteorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/byteorder.h')
-rw-r--r--arch/arm/include/asm/byteorder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/byteorder.h b/arch/arm/include/asm/byteorder.h
index c3489f1e1f..20cce7657e 100644
--- a/arch/arm/include/asm/byteorder.h
+++ b/arch/arm/include/asm/byteorder.h
@@ -23,7 +23,7 @@
# define __SWAB_64_THRU_32__
#endif
-#ifdef __ARMEB__
+#if defined(__ARMEB__) || defined(__AARCH64EB__)
#include <linux/byteorder/big_endian.h>
#else
#include <linux/byteorder/little_endian.h>