aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratyush Anand <panand@redhat.com>2015-01-13 12:53:22 +0530
committerSteve Capper <steve.capper@linaro.org>2015-01-27 16:46:19 +0000
commitaac252383560cbdefcc5cf778e0fea5285d294af (patch)
tree84dddee8f26b770d82a2517ff31f5a5d8c8631b8
parentf1c8932dc83fc2c9afed0b0db67107b725c4602e (diff)
downloadlinux-aac252383560cbdefcc5cf778e0fea5285d294af.tar.gz
ARM64: Remove definition of ARCH64_NOP_OPCODE
ARCH64_NOP_OPCODE is not being used anywhere, so remove its definition. Moreover, for nop execution we already have aarch64_insn_gen_nop. Signed-off-by: Pratyush Anand <panand@redhat.com>
-rw-r--r--arch/arm64/kernel/kprobes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kernel/kprobes.h b/arch/arm64/kernel/kprobes.h
index 93c54b4972f..614d3638f82 100644
--- a/arch/arm64/kernel/kprobes.h
+++ b/arch/arm64/kernel/kprobes.h
@@ -20,7 +20,6 @@
#define BRK64_ESR_MASK 0xFFFF
#define BRK64_ESR_KPROBES 0x0004
#define BRK64_OPCODE_KPROBES 0xD4200080 /* "brk 0x4" */
-#define ARCH64_NOP_OPCODE 0xD503201F
#define JPROBES_MAGIC_NUM 0xa5a5a5a5a5a5a5a5