diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-10-14 16:32:41 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-10-15 15:38:26 -0400 |
commit | 233325b94999d4bb8df227bb39904a57509e4995 (patch) | |
tree | 1f195bded03ce5aa483b41531e739a8cc61ce392 /arch/tile/kernel/intvec_32.S | |
parent | a78c942df64ef4cf495fd4d8715e48501bd7f8a4 (diff) |
arch/tile: enable single-step support for TILE-Gx
This is not quite the complete support, since we're not yet shipping
intvec_64.S, but it is the support relevant to the set of files we are
currently shipping, and makes it easier to track changes between
our internal sources and our public GIT repository.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/intvec_32.S')
-rw-r--r-- | arch/tile/kernel/intvec_32.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/tile/kernel/intvec_32.S b/arch/tile/kernel/intvec_32.S index 206dc7e1fe36..f5821626247f 100644 --- a/arch/tile/kernel/intvec_32.S +++ b/arch/tile/kernel/intvec_32.S | |||
@@ -1472,7 +1472,12 @@ handle_ill: | |||
1472 | lw r26, r24 | 1472 | lw r26, r24 |
1473 | sw r28, r26 | 1473 | sw r28, r26 |
1474 | 1474 | ||
1475 | /* Clear TIF_SINGLESTEP */ | 1475 | /* |
1476 | * Clear TIF_SINGLESTEP to prevent recursion if we execute an ill. | ||
1477 | * The normal non-arch flow redundantly clears TIF_SINGLESTEP, but we | ||
1478 | * need to clear it here and can't really impose on all other arches. | ||
1479 | * So what's another write between friends? | ||
1480 | */ | ||
1476 | GET_THREAD_INFO(r0) | 1481 | GET_THREAD_INFO(r0) |
1477 | 1482 | ||
1478 | addi r1, r0, THREAD_INFO_FLAGS_OFFSET | 1483 | addi r1, r0, THREAD_INFO_FLAGS_OFFSET |