65c816: tidy up hardcoded offset
authorAlan Cox <alan@linux.intel.com>
Sun, 24 Sep 2017 23:41:41 +0000 (00:41 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 24 Sep 2017 23:41:41 +0000 (00:41 +0100)
Kernel/lib/65c816.s

index 2fcba9f..9c5ecf1 100644 (file)
@@ -60,7 +60,7 @@ idling:
        cmp     #P_READY
        bne     slow_path
        lda     #P_RUNNING
-       sta     0,x
+       sta     P_TAB__P_STATUS_OFFSET,x
        plx
        stx     sp
        plx                             ; discard 0