aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/kprobes.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-08 12:22:47 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-09-08 12:22:47 +0900
commit037c10a612e8b7461e33672fb3848807ac6e2346 (patch)
tree97f41894ffa408c7e4a9b14e08fa7ffdc19e3cfd /arch/sh/kernel/kprobes.c
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/kprobes.c')
-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 ac6074942fd..81a3725e515 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)
return 1;
}
-static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
+int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr)
{
struct kprobe *cur = kprobe_running();
struct kprobe_ctlblk *kcb = get_kprobe_ctlblk();