From: Ananth N Mavinakayanahalli Date: Thu, 27 May 2010 19:19:20 +0000 (+0000) Subject: powerpc/kprobes: Remove resume_execution() in kprobes X-Git-Tag: v2.6.35-rc2~45^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db97bc7f9997fef41b24c91f61c2f776d32d7ce3;p=pandora-kernel.git powerpc/kprobes: Remove resume_execution() in kprobes emulate_step() in kprobe_handler() would've already determined if the probed instruction can be emulated. We single-step in hardware only if the instruction couldn't be emulated. resume_execution() therefore is superfluous -- all we need is to fix up the instruction pointer after single-stepping. Thanks to Paul Mackerras for catching this. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed