patch-2.0.31 linux/arch/i386/kernel/smp.c
Next file: linux/arch/i386/kernel/traps.c
Previous file: linux/arch/i386/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Aug 11 13:42:11 1997
- Orig file:
v2.0.30/linux/arch/i386/kernel/smp.c
- Orig date:
Sun May 12 21:17:23 1996
diff -u --recursive --new-file v2.0.30/linux/arch/i386/kernel/smp.c linux/arch/i386/kernel/smp.c
@@ -1202,3 +1202,15 @@
apic_read(APIC_SPIV); /* Dummy read */
apic_write(APIC_EOI, 0); /* Docs say use 0 for future compatibility */
}
+
+void irq_deadlock_detected(void)
+{
+ printk("IRQ DEADLOCK DETECTED BY CPU %d\n", smp_processor_id());
+ __asm__("hlt");
+}
+
+void non_irq_deadlock_detected(void)
+{
+ printk("NON-IRQ DEADLOCK DETECTED BY CPU %d\n", smp_processor_id());
+ __asm__("hlt");
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov