Cc: Hien Nguyen Signed-off-by: Andrew Morton --- include/linux/kprobes.h | 9 +++++---- linux/kprobes.h~kprobes-function-return-probes | 0 2 files changed, 5 insertions(+), 4 deletions(-) diff -puN include/linux/kprobes.h~kprobes-function-return-probes-fix include/linux/kprobes.h --- 25/include/linux/kprobes.h~kprobes-function-return-probes-fix 2005-05-09 23:38:47.000000000 -0700 +++ 25-akpm/include/linux/kprobes.h 2005-05-09 23:39:09.000000000 -0700 @@ -99,15 +99,16 @@ extern void trampoline_post_handler(stru extern struct task_struct *arch_get_kprobe_task(void *ptr); #else #define arch_supports_kretprobes 0 -static void kretprobe_trampoline(void) +static inline void kretprobe_trampoline(void) { } -static int trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) +static inline int trampoline_probe_handler(struct kprobe *p, + struct pt_regs *regs) { return 0; } -static void trampoline_post_handler(struct kprobe *p, struct pt_regs *regs, - unsigned long flags) +static inline void trampoline_post_handler(struct kprobe *p, + struct pt_regs *regs, unsigned long flags) { } #define arch_get_kprobe_task(ptr) ((struct task_struct *)NULL) diff -puN include/linux/kprobes.h~kprobes-function-return-probes~kprobes-function-return-probes-fix include/linux/kprobes.h~kprobes-function-return-probes _