]> git.karo-electronics.de Git - mv-sheeva.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>
Mon, 2 Apr 2012 16:13:36 +0000 (12:13 -0400)
commit2858f856021340f3730fa8639dd520a2e4331f7f
tree5dec3cf9478a9507adf8cae7834eca1da3da6778
parentcb210ee3a81afab7c64777635cc18899a2bdd9a5
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