From 7f1bb40aa1b87bc346bd07b893ebdd5c35e10410 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Thu, 19 Feb 2015 15:48:47 -0500 Subject: 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 015caef448..9e3984ad8f 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++]; -- cgit v1.2.3