z80: fix stray switchout
authorAlan Cox <alan@linux.intel.com>
Fri, 30 Mar 2018 21:46:46 +0000 (22:46 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 30 Mar 2018 21:46:46 +0000 (22:46 +0100)
This gets us close to where need to be. All that is broken by all this changing
around now is signal handling on pre-emption

Kernel/lowlevel-z80.s

index 8d74a84..a583a55 100644 (file)
@@ -32,7 +32,7 @@
        .globl _platform_interrupt
        .globl platform_interrupt_all
        .globl _need_resched
-       .globl _switchout
+       .globl _platform_switchout
 
         ; exported symbols
        .globl _chksigs
@@ -554,7 +554,7 @@ intret2:call map_kernel
        ;
        ld hl, (U_DATA__U_PTAB)
        ld (hl), #P_READY
-       call _switchout
+       call _platform_switchout
        ;
        ; We are no longer in an interrupt or a syscall
        ;