patch-2.1.51 linux/arch/mips/kernel/syscall.c

Next file: linux/arch/mips/kernel/syscalls.h
Previous file: linux/arch/mips/kernel/signal.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.50/linux/arch/mips/kernel/syscall.c linux/arch/mips/kernel/syscall.c
@@ -88,7 +88,7 @@
 		 *        possible.  Should help alot for battery powered
 		 *        R4200/4300i systems.
 		 */
-		if (wait_available && !need_resched)
+		if (wait_available && !resched_needed())
 			__asm__(".set\tmips3\n\t"
 				"wait\n\t"
 				".set\tmips0\n\t");

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