[rtems commit] h8300/cpu_asm.S: Correct register size suffix for loading DISPATCH_NEEDED

Joel Sherrill joel at rtems.org
Wed Oct 15 19:15:58 UTC 2014


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Oct 15 09:26:44 2014 -0500

h8300/cpu_asm.S: Correct register size suffix for loading DISPATCH_NEEDED

---

 cpukit/score/cpu/h8300/cpu_asm.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 */



More information about the vc mailing list