diff options
Diffstat (limited to 'arch/m68k/fpsp040/skeleton.S')
-rw-r--r-- | arch/m68k/fpsp040/skeleton.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/m68k/fpsp040/skeleton.S b/arch/m68k/fpsp040/skeleton.S index 719bcc9ce..1e4d0cf72 100644 --- a/arch/m68k/fpsp040/skeleton.S +++ b/arch/m68k/fpsp040/skeleton.S @@ -378,14 +378,12 @@ fpsp_done: beq Lnotkern rte Lnotkern: - tstl SYMBOL_NAME(need_resched) - bne Lmustsched - rte -Lmustsched: SAVE_ALL_INT GET_CURRENT(%d0) - bral SYMBOL_NAME(ret_from_exception) | deliver signals, reschedule etc.. - + tstl %curptr@(LTASK_NEEDRESCHED) + jne SYMBOL_NAME(ret_from_exception) | deliver signals, + | reschedule etc.. + RESTORE_ALL | | mem_write --- write to user or supervisor address space |