patch-2.1.83 linux/kernel/sched.c

Next file: linux/Documentation/digiboard.txt
Previous file: linux/include/linux/interrupt.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.82/linux/kernel/sched.c linux/kernel/sched.c
@@ -389,6 +389,8 @@
 	this_cpu = smp_processor_id();
 	if (local_irq_count[this_cpu])
 		goto scheduling_in_interrupt;
+	if (local_bh_count[this_cpu])
+		goto scheduling_in_interrupt;
 	release_kernel_lock(prev, this_cpu, lock_depth);
 	if (bh_active & bh_mask)
 		do_bottom_half();


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