aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/opcodes.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-04-01 17:15:51 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2016-04-01 17:15:51 -0500
commit4fff5056600300402472dcc99cd814bfa012d8ee (patch)
tree7437fd0d8776cad26abcffeafac6e148fad1a170 /arch/arm64/include/asm/opcodes.h
parent2708d17d07d2968a0fb0efa692b82cd544c3e9d4 (diff)
parent431597bb95560c975221c0394c442723d7a21f2d (diff)
downloadlinux-stericsson-4fff5056600300402472dcc99cd814bfa012d8ee.tar.gz
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Will Deacon: - fix oops when patching in alternative sequences on big-endian CPUs - reconcile asm/perf_event.h after merge window fallout with KVM ARM - defconfig updates * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: defconfig: updates for 4.6 arm64: perf: Move PMU register related defines to asm/perf_event.h arm64: opcodes.h: Add arm big-endian config options before including arm header
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>