diff options
Diffstat (limited to 'arch/mips/include/asm/kprobes.h')
-rw-r--r-- | arch/mips/include/asm/kprobes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/include/asm/kprobes.h b/arch/mips/include/asm/kprobes.h index e6ea4d4d7205..1fbbca01e681 100644 --- a/arch/mips/include/asm/kprobes.h +++ b/arch/mips/include/asm/kprobes.h | |||
@@ -74,6 +74,8 @@ struct prev_kprobe { | |||
74 | : MAX_JPROBES_STACK_SIZE) | 74 | : MAX_JPROBES_STACK_SIZE) |
75 | 75 | ||
76 | 76 | ||
77 | #define SKIP_DELAYSLOT 0x0001 | ||
78 | |||
77 | /* per-cpu kprobe control block */ | 79 | /* per-cpu kprobe control block */ |
78 | struct kprobe_ctlblk { | 80 | struct kprobe_ctlblk { |
79 | unsigned long kprobe_status; | 81 | unsigned long kprobe_status; |
@@ -82,6 +84,9 @@ struct kprobe_ctlblk { | |||
82 | unsigned long kprobe_saved_epc; | 84 | unsigned long kprobe_saved_epc; |
83 | unsigned long jprobe_saved_sp; | 85 | unsigned long jprobe_saved_sp; |
84 | struct pt_regs jprobe_saved_regs; | 86 | struct pt_regs jprobe_saved_regs; |
87 | /* Per-thread fields, used while emulating branches */ | ||
88 | unsigned long flags; | ||
89 | unsigned long target_epc; | ||
85 | u8 jprobes_stack[MAX_JPROBES_STACK_SIZE]; | 90 | u8 jprobes_stack[MAX_JPROBES_STACK_SIZE]; |
86 | struct prev_kprobe prev_kprobe; | 91 | struct prev_kprobe prev_kprobe; |
87 | }; | 92 | }; |