summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/kprobes.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2011-01-05 12:47:21 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-01-05 12:47:24 +0100
commit371db06b017c518da2d69ae278c5978ebcd1041a (patch)
tree02a1974a2e2a16d9625c1616c7004537a13d2245 /arch/s390/include/asm/kprobes.h
parentb9599798f953084774da926caa8bafd7e244948e (diff)
[S390] kprobes: insn slots
The s390 architecture can execute code on kmalloc/vmalloc memory. No need for the __ARCH_WANT_KPROBES_INSN_SLOT detour. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/kprobes.h')
-rw-r--r--arch/s390/include/asm/kprobes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/include/asm/kprobes.h b/arch/s390/include/asm/kprobes.h
index 787c6a87032..02a822e8ef7 100644
--- a/arch/s390/include/asm/kprobes.h
+++ b/arch/s390/include/asm/kprobes.h
@@ -31,7 +31,6 @@
#include <linux/ptrace.h>
#include <linux/percpu.h>
-#define __ARCH_WANT_KPROBES_INSN_SLOT
struct pt_regs;
struct kprobe;
@@ -58,7 +57,7 @@ typedef u16 kprobe_opcode_t;
/* Architecture specific copy of original instruction */
struct arch_specific_insn {
/* copy of original instruction */
- kprobe_opcode_t *insn;
+ kprobe_opcode_t insn[MAX_INSN_SIZE];
};
struct prev_kprobe {