dragon-nx32: runticks is 16 bit
authorTormod Volden <debian.tormod@gmail.com>
Sun, 19 Apr 2015 16:43:40 +0000 (18:43 +0200)
committerAlan Cox <alan@linux.intel.com>
Sun, 19 Apr 2015 17:45:45 +0000 (18:45 +0100)
This is wrong for many other ports as well.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/platform-dragon-nx32/tricks.s

index 7af4997..4579e9f 100644 (file)
@@ -116,8 +116,8 @@ stashb      ldd ,x++
        lda #P_RUNNING
        sta P_TAB__P_STATUS_OFFSET,x
 
-       lda #0
-       sta _runticks
+       ldx #0
+       stx _runticks
 
         ; restore machine state -- note we may be returning from either
         ; _switchout or _dofork