|
@@ -24,6 +24,7 @@
|
|
|
#include <linux/types.h>
|
|
|
#include <linux/ptrace.h>
|
|
|
#include <linux/percpu.h>
|
|
|
+#include <asm/insn.h>
|
|
|
|
|
|
#define __ARCH_WANT_KPROBES_INSN_SLOT
|
|
|
|
|
@@ -36,7 +37,6 @@ typedef u8 kprobe_opcode_t;
|
|
|
#define RELATIVEJUMP_SIZE 5
|
|
|
#define RELATIVECALL_OPCODE 0xe8
|
|
|
#define RELATIVE_ADDR_SIZE 4
|
|
|
-#define MAX_INSN_SIZE 16
|
|
|
#define MAX_STACK_SIZE 64
|
|
|
#define MIN_STACK_SIZE(ADDR) \
|
|
|
(((MAX_STACK_SIZE) < (((unsigned long)current_thread_info()) + \
|