diff options
author | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2010-05-27 23:19:20 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-06-02 11:50:37 +0400 |
commit | db97bc7f9997fef41b24c91f61c2f776d32d7ce3 (patch) | |
tree | ae35f82cc63a624966934efb63f30d7c2a8ab746 /arch/powerpc/kernel/head_44x.S | |
parent | 83aea945c21c646184a494a32ad5524248b60226 (diff) | |
download | linux-db97bc7f9997fef41b24c91f61c2f776d32d7ce3.tar.xz |
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 <ananth@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/head_44x.S')
0 files changed, 0 insertions, 0 deletions