[PATCH 2/4] h8300/cpu_asm.S: Correct register size suffix for loading DISPATCH_NEEDED

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 14:34:50 UTC 2014


---
 cpukit/score/cpu/h8300/cpu_asm.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/h8300/cpu_asm.S b/cpukit/score/cpu/h8300/cpu_asm.S
index 9e89a83..e0fdf0a 100644
--- a/cpukit/score/cpu/h8300/cpu_asm.S
+++ b/cpukit/score/cpu/h8300/cpu_asm.S
@@ -148,7 +148,7 @@ nested:
 	mov.l	er1, at THREAD_DISPATCH_DISABLE_LEVEL
 	bne	exit
 	
-	mov.b	@DISPATCH_NEEDED,er1
+	mov.l	@DISPATCH_NEEDED,er1
 	beq	exit		; If no then exit
 
 	/* Context switch here through ISR_Dispatch */
-- 
1.9.3




More information about the devel mailing list