dragon: update for _kernel_flag removal and need_resched
authorAlan Cox <alan@linux.intel.com>
Mon, 1 Jun 2015 20:09:00 +0000 (21:09 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 1 Jun 2015 20:09:00 +0000 (21:09 +0100)
Kernel/platform-dragon/p6809.s

index 86a8194..6e51bc2 100644 (file)
@@ -14,7 +14,7 @@
            .globl map_process_always
            .globl map_save
            .globl map_restore
-           .globl _kernel_flag
+           .globl _need_resched
 
             ; exported debugging tools
             .globl _trap_monitor
 
             .area .common
 
-trapmsg:    .ascii "Trapdoor: SP="
-            .db 0
-trapmsg2:   .ascii ", PC="
-            .db 0
-tm_user_sp: .dw 0
-
 _trap_reboot:
 _trap_monitor:
            cwai #0
            bra _trap_monitor
 
-
 _di:
            tfr cc,b            ; return the old irq state
            orcc #0x10
@@ -183,6 +176,6 @@ lc      anda #0x3F
 
            .area .data
 
-_kernel_flag: .db 1
+_need_resched: .db 0
 traceptr:
           .dw 0x6000