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

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)