patch-2.1.113 linux/arch/m68k/ifpsp060/iskeleton.S

Next file: linux/arch/m68k/kernel/entry.S
Previous file: linux/arch/m68k/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.112/linux/arch/m68k/ifpsp060/iskeleton.S linux/arch/m68k/ifpsp060/iskeleton.S
@@ -72,14 +72,12 @@
 	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
 
 |
 | _060_real_chk():

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov