diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-08 12:22:47 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-08 12:22:47 +0900 |
commit | 037c10a612e8b7461e33672fb3848807ac6e2346 (patch) | |
tree | 97f41894ffa408c7e4a9b14e08fa7ffdc19e3cfd /arch/sh/kernel/kprobes.c | |
parent | fc63562ac2107dfa843f5288fe985fc6f0021c17 (diff) | |
download | kernel_samsung_smdk4412-037c10a612e8b7461e33672fb3848807ac6e2346.zip kernel_samsung_smdk4412-037c10a612e8b7461e33672fb3848807ac6e2346.tar.gz kernel_samsung_smdk4412-037c10a612e8b7461e33672fb3848807ac6e2346.tar.bz2 |
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 ac60749..81a3725 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(); |