From: Alan Cox Date: Tue, 2 Jun 2015 22:00:45 +0000 (+0100) Subject: From: Tormod Volden X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0c68e10f7c2c8afce63a24d6e5843cb9ee36a1dd;p=FUZIX.git From: Tormod Volden Signed-off-by: Tormod Volden --- diff --git a/Kernel/lowlevel-6809.s b/Kernel/lowlevel-6809.s index 2bb31e37..f282c4f8 100644 --- a/Kernel/lowlevel-6809.s +++ b/Kernel/lowlevel-6809.s @@ -292,9 +292,9 @@ in_kernel: clr U_DATA__U_ININTERRUPT bne interrupt_return lda _need_resched - clr _need_resched beq no_switch + clr _need_resched stx U_DATA__U_SYSCALL_SP ; save again somewhere safe for ; preemption ; Pre emption occurs on the task stack. Conceptually its a