summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/opcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/opcodes.h')
-rw-r--r--arch/arm64/include/asm/opcodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/opcodes.h b/arch/arm64/include/asm/opcodes.h
index 4e603ea36ad3..123f45d92cd1 100644
--- a/arch/arm64/include/asm/opcodes.h
+++ b/arch/arm64/include/asm/opcodes.h
@@ -1 +1,5 @@
+#ifdef CONFIG_CPU_BIG_ENDIAN
+#define CONFIG_CPU_ENDIAN_BE8 CONFIG_CPU_BIG_ENDIAN
+#endif
+
#include <../../arm/include/asm/opcodes.h>