patch-2.1.43 linux/arch/i386/kernel/irq.h

Next file: linux/arch/i386/kernel/smp.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/arch/i386/kernel/irq.h linux/arch/i386/kernel/irq.h
@@ -9,24 +9,10 @@
 
 #ifdef __SMP__
 
-#undef INIT_STUCK
-#define INIT_STUCK 200000000
-
-#undef STUCK
-#define STUCK \
-if (!--stuck) {printk("irq_enter stuck (irq=%d, cpu=%d, global=%d)\n",irq,cpu,global_irq_holder); stuck = INIT_STUCK;}
-
 static inline void irq_enter(int cpu, int irq)
 {
-	int stuck = INIT_STUCK;
-
 	hardirq_enter(cpu);
 	while (test_bit(0,&global_irq_lock)) {
-		if ((unsigned char) cpu == global_irq_holder) {
-			printk("BAD! Local interrupts enabled, global disabled\n");
-			break;
-		}
-		STUCK;
 		/* nothing */;
 	}
 }

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