commit | 658d029df0bce6472c94b724ca54d74bc6659c2e | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@c-s.fr> | Fri Jun 28 15:55:52 2019 +0000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Aug 20 21:22:10 2019 +1000 |
tree | d716bdc3c0084dff44616044bed296b1d3c6853c | |
parent | 65e701b2d2a8593c44c8855aee2e087be7e11e75 [diff] |
powerpc/hw_breakpoint: move instruction stepping out of hw_breakpoint_handler() On 8xx, breakpoints stop after executing the instruction, so stepping/emulation is not needed. Move it into a sub-function and remove the #ifdefs. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/f8cdc3f1c66ad3c43ebc568abcc6c39ed4676284.1561737231.git.christophe.leroy@c-s.fr