summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-02-13 22:14:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-02-13 22:14:25 +0000
commit6ca11842a577fd30b78015997434df9f3466bbc2 (patch)
treebf080476a433b12123b48177f59c2d04c1aaf80b /c
parentmore comments added and existing ones cleaned up in synchronization paths (diff)
downloadrtems-6ca11842a577fd30b78015997434df9f3466bbc2.tar.bz2
added clear of _ISR_Signals_to_thread_executing
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/score/cpu/sparc/cpu_asm.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/sparc/cpu_asm.s b/c/src/exec/score/cpu/sparc/cpu_asm.s
index 5fe49f3e1d..f3c3435ca8 100644
--- a/c/src/exec/score/cpu/sparc/cpu_asm.s
+++ b/c/src/exec/score/cpu/sparc/cpu_asm.s
@@ -569,7 +569,10 @@ dont_switch_stacks:
orcc %l7, %g0, %g0 ! Were signals sent to the currently
! executing thread?
bz simple_return ! yes, then invoke the dispatcher
- nop ! delay slot
+ ! use the delay slot to clear the signals
+ ! to the currently executing task flag
+ st %g0, [%l6 + %lo(SYM(_ISR_Signals_to_thread_executing))]
+
/*
* Invoke interrupt dispatcher.