patch-2.1.101 linux/kernel/sched.c
Next file: linux/kernel/sys.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri May 8 00:31:10 1998
- Orig file:
v2.1.100/linux/kernel/sched.c
- Orig date:
Thu May 7 22:51:55 1998
diff -u --recursive --new-file v2.1.100/linux/kernel/sched.c linux/kernel/sched.c
@@ -399,9 +399,7 @@
need_resched = 0;
prev = current;
this_cpu = smp_processor_id();
- if (local_irq_count[this_cpu])
- goto scheduling_in_interrupt;
- if (local_bh_count[this_cpu])
+ if (in_interrupt())
goto scheduling_in_interrupt;
release_kernel_lock(prev, this_cpu, lock_depth);
if (bh_active & bh_mask)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov