From: Masami Hiramatsu Assign the correct address of the instruction buffer. From linux-2.6.16-rc5, the ainsn.insn on i386 arch became a pointer instead of an array itself. Signed-off-by: Masami Hiramatsu Signed-off-by: Andrew Morton --- arch/i386/kernel/kprobes.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN arch/i386/kernel/kprobes.c~x86-kprobes-booster-fix arch/i386/kernel/kprobes.c --- devel/arch/i386/kernel/kprobes.c~x86-kprobes-booster-fix 2006-03-01 00:38:39.000000000 -0800 +++ devel-akpm/arch/i386/kernel/kprobes.c 2006-03-01 00:38:39.000000000 -0800 @@ -313,7 +313,7 @@ static int __kprobes kprobe_handler(stru !p->post_handler && !p->break_handler ) { /* Boost up -- we can execute copied instructions directly */ reset_current_kprobe(); - regs->eip = (unsigned long)&p->ainsn.insn; + regs->eip = (unsigned long)p->ainsn.insn; preempt_enable_no_resched(); return 1; } _