patch-2.4.25 linux-2.4.25/arch/s390x/kernel/process.c
Next file: linux-2.4.25/arch/s390x/kernel/s390_ksyms.c
Previous file: linux-2.4.25/arch/s390x/kernel/linux32.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
2004-02-18 05:36:30.000000000 -0800
-  Orig file: 
linux-2.4.24/arch/s390x/kernel/process.c
-  Orig date: 
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.24/arch/s390x/kernel/process.c linux-2.4.25/arch/s390x/kernel/process.c
@@ -60,7 +60,9 @@
 	current->nice = 20;
 	current->counter = -100;
 	while (1) {
+		__cli();
 		if (current->need_resched) {
+			__sti();
 			schedule();
 			check_pgt_cache();
 			continue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)