From: Andrew Morton Cc: Prasanna S Panchamukhi Cc: "David S. Miller" Signed-off-by: Andrew Morton --- arch/sparc64/kernel/kprobes.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN arch/sparc64/kernel/kprobes.c~kprobes-fix-broken-fault-handling-for-sparc64-fix arch/sparc64/kernel/kprobes.c --- 25-sparc64/arch/sparc64/kernel/kprobes.c~kprobes-fix-broken-fault-handling-for-sparc64-fix 2006-03-18 03:31:27.000000000 -0800 +++ 25-sparc64-akpm/arch/sparc64/kernel/kprobes.c 2006-03-18 03:31:27.000000000 -0800 @@ -316,7 +316,7 @@ static inline int kprobe_fault_handler(s * and allow the page fault handler to continue as a * normal page fault. */ - regs->tpc = (unsigned long) curr->addr; + regs->tpc = (unsigned long)cur->addr; regs->tnpc = kcb->kprobe_orig_tnpc; regs->tstate = ((regs->tstate & ~TSTATE_PIL) | kcb->kprobe_orig_tstate_pil); _