sh: kprobes: Hook up kprobe_fault_handler() in the page fault path.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2008-09-08 12:22:47 +09:00
parent fc63562ac2
commit 037c10a612
3 changed files with 30 additions and 4 deletions

View File

@ -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();