diff options
| author | Naveen N. Rao <[email protected]> | 2017-05-15 18:10:05 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-05-16 03:11:07 +0000 |
| commit | d04c02f8aa96d82e4cbe783f85a820aae820e746 (patch) | |
| tree | 01c16da24206cc7a1ec823c59a7e2197139a7bcd /drivers/tty/serial/sccnxp.c | |
| parent | powerpc/powernv: Set NAPSTATELOST after recovering paca on P9 DD1 (diff) | |
| download | kernel-d04c02f8aa96d82e4cbe783f85a820aae820e746.tar.gz kernel-d04c02f8aa96d82e4cbe783f85a820aae820e746.zip | |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
