aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-07 23:22:47 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-09-07 23:22:47 -0400
commit037c10a612e8b7461e33672fb3848807ac6e2346 (patch)
tree97f41894ffa408c7e4a9b14e08fa7ffdc19e3cfd /arch/sh/kernel
parentfc63562ac2107dfa843f5288fe985fc6f0021c17 (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')
-rw-r--r--arch/sh/kernel/kprobes.c2
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
396static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) 396int __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();