patch-2.1.33 linux/kernel/exit.c
Next file: linux/kernel/fork.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Apr 7 11:17:31 1997
- Orig file:
v2.1.32/linux/kernel/exit.c
- Orig date:
Thu Mar 27 14:40:12 1997
diff -u --recursive --new-file v2.1.32/linux/kernel/exit.c linux/kernel/exit.c
@@ -577,9 +577,9 @@
NORET_TYPE void do_exit(long code)
{
- if (0 && intr_count) {
+ if (in_interrupt()) {
+ local_irq_count[smp_processor_id()] = 0; /* Not really correct */
printk("Aiee, killing interrupt handler\n");
- intr_count = 0;
}
fake_volatile:
acct_process(code);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov