summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/Makefile
diff options
context:
space:
mode:
authorPunit Agrawal2014-11-18 12:41:27 +0100
committerWill Deacon2014-11-20 17:35:02 +0100
commitd784e2988a3e70a6f1047e80e01465a903ea2eba (patch)
tree9647174faebefdcef4c714e4135439cb2da90e11 /arch/arm64/kernel/Makefile
parentarm64: Emulate CP15 Barrier instructions (diff)
downloadkernel-qcow2-linux-d784e2988a3e70a6f1047e80e01465a903ea2eba.tar.gz
kernel-qcow2-linux-d784e2988a3e70a6f1047e80e01465a903ea2eba.tar.xz
kernel-qcow2-linux-d784e2988a3e70a6f1047e80e01465a903ea2eba.zip
arm64: Trace emulation of AArch32 legacy instructions
Introduce an event to trace the usage of emulated instructions. The trace event is intended to help identify and encourage the migration of legacy software using the emulation features. Use this event to trace usage of swp and CP15 barrier emulation. Acked-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/Makefile')
-rw-r--r--arch/arm64/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile
index 84e9e5153efe..b36ebd0aacbb 100644
--- a/arch/arm64/kernel/Makefile
+++ b/arch/arm64/kernel/Makefile
@@ -5,6 +5,7 @@
CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_OFFSET)
AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
CFLAGS_efi-stub.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
+CFLAGS_armv8_deprecated.o := -I$(src)
CFLAGS_REMOVE_ftrace.o = -pg
CFLAGS_REMOVE_insn.o = -pg