patch-2.3.99-pre9 linux/arch/mips/kernel/process.c
Next file: linux/arch/mips/kernel/ptrace.c
Previous file: linux/arch/mips/kernel/proc.c
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Sat May 13 08:29:14 2000
-  Orig file: 
v2.3.99-pre8/linux/arch/mips/kernel/process.c
-  Orig date: 
Sat Feb 26 22:31:40 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/arch/mips/kernel/process.c linux/arch/mips/kernel/process.c
@@ -40,10 +40,8 @@
 
 	while (1) {
 		while (!current->need_resched)
-			if (wait_available)
-				__asm__(".set\tmips3\n\t"
-					"wait\n\t"
-					".set\tmips0");
+			if (cpu_wait)
+				(*cpu_wait)();
 		schedule();
 		check_pgt_cache();
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)