[rtems commit] bfin: do not reset dispatch needed

Gedare Bloom gedare at rtems.org
Thu Feb 19 20:50:33 UTC 2015


Module:    rtems
Branch:    master
Commit:    7f1bb40aa1b87bc346bd07b893ebdd5c35e10410
Changeset: http://git.rtems.org/rtems/commit/?id=7f1bb40aa1b87bc346bd07b893ebdd5c35e10410

Author:    Gedare Bloom <gedare at rtems.org>
Date:      Thu Feb 19 15:48:47 2015 -0500

bfin: do not reset dispatch needed

Closes #2148

Fix suggested in above ticket. On examination, the assembly
appears to be clearing the DISPATCH_NEEDED flag before jumping
to _Thread_Dispatch.

---

 cpukit/score/cpu/bfin/cpu_asm.S | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cpukit/score/cpu/bfin/cpu_asm.S b/cpukit/score/cpu/bfin/cpu_asm.S
index 015caef..9e3984a 100644
--- a/cpukit/score/cpu/bfin/cpu_asm.S
+++ b/cpukit/score/cpu/bfin/cpu_asm.S
@@ -472,8 +472,6 @@ noStackRestore:
 	cc = r0 == 0;
 	if cc jump noDispatch
 doDispatch:
-	r0 = 0;
-	B[p0] = r0;
 	raise 15;
 noDispatch:
 	r0 = [sp++];




More information about the vc mailing list