diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-07 23:22:47 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-07 23:22:47 -0400 |
commit | 037c10a612e8b7461e33672fb3848807ac6e2346 (patch) | |
tree | 97f41894ffa408c7e4a9b14e08fa7ffdc19e3cfd /arch/sh/kernel/kprobes.c | |
parent | fc63562ac2107dfa843f5288fe985fc6f0021c17 (diff) |
sh: kprobes: Hook up kprobe_fault_handler() in the page fault path.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/kprobes.c')
-rw-r--r-- | arch/sh/kernel/kprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/kprobes.c b/arch/sh/kernel/kprobes.c index ac6074942fd6..81a3725e5155 100644 --- a/arch/sh/kernel/kprobes.c +++ b/arch/sh/kernel/kprobes.c | |||
@@ -393,7 +393,7 @@ static inline int post_kprobe_handler(struct pt_regs *regs) | |||
393 | return 1; | 393 | return 1; |
394 | } | 394 | } |
395 | 395 | ||
396 | static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) | 396 | int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) |
397 | { | 397 | { |
398 | struct kprobe *cur = kprobe_running(); | 398 | struct kprobe *cur = kprobe_running(); |
399 | struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); | 399 | struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); |