diff options
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 206dc7e1fe3..f5821626247 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 |