]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/tile: fix single-stepping over swint1 instructions on tilegx
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 29 Mar 2012 20:11:09 +0000 (16:11 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Mar 2012 22:56:43 +0000 (18:56 -0400)
commitebe943060720c4c5bd69d62d5700fcdc563522e4
tree910c9e54f19887989baf83b376aa98eef7d03784
parent0f1581229866cef0006e759bc0b7d824fb362ec2
arch/tile: fix single-stepping over swint1 instructions on tilegx

If we are single-stepping and make a syscall, we call ptrace_notify()
explicitly on the return path back to user space, since we are returning
to a pc value set artificially to the next instruction, and otherwise
we won't register that we stepped over the syscall instruction (swint1).

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/intvec_64.S