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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 13:25:19 +0000 (18:25 +0530)
commita98884a532bdc50ed78183d7d781401dc68d756e
treee4c87d282441b0f47af1dbabf4b96c08ca193d43
parent4060a6bcb3e64f80b75033cc335cf8c8dfe4c2b4
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