Naveen N. Rao d04c02f8aa powerpc/kprobes: Fix handling of instruction emulation on probe re-entry
Commit 22d8b3dec214c ("powerpc/kprobes: Emulate instructions on kprobe
handler re-entry") enabled emulating instructions on kprobe re-entry,
rather than single-stepping always. However, we didn't update the single
stepping code to only be run if the emulation fails. Also, we missed
re-enabling preemption if the instruction emulation was successful. Fix
those issues.

Fixes: 22d8b3dec214c ("powerpc/kprobes: Emulate instructions on kprobe handler re-entry")
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-05-16 13:11:07 +10:00
..
2016-06-14 13:58:26 +10:00
2016-06-21 15:30:56 +10:00
2017-05-05 11:36:44 -07:00
2017-01-26 17:49:34 -06:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2017-04-20 11:39:21 +10:00
2015-08-06 15:10:20 +10:00
2016-08-07 23:50:09 -04:00
2016-07-15 14:57:47 +10:00
2017-05-12 10:04:09 -07:00
2017-05-12 10:04:09 -07:00
2017-05-05 11:36:44 -07:00
2015-04-07 17:15:13 +10:00
2017-05-05 11:36:44 -07:00