patch-2.3.45 linux/arch/ppc/kernel/pmac_pic.c
Next file: linux/arch/ppc/kernel/pmac_setup.c
Previous file: linux/arch/ppc/kernel/open_pic.c
Back to the patch index
Back to the overall index
-  Lines: 35
-  Date:
Sun Feb 13 10:47:01 2000
-  Orig file: 
v2.3.44/linux/arch/ppc/kernel/pmac_pic.c
-  Orig date: 
Thu Feb 10 17:11:05 2000
diff -u --recursive --new-file v2.3.44/linux/arch/ppc/kernel/pmac_pic.c linux/arch/ppc/kernel/pmac_pic.c
@@ -31,8 +31,6 @@
 static int max_real_irqs;
 static int has_openpic = 0;
 
-#define MAXCOUNT 10000000
-
 #define GATWICK_IRQ_POOL_SIZE        10
 static struct interrupt_info gatwick_int_pool[GATWICK_IRQ_POOL_SIZE];
 
@@ -186,25 +184,6 @@
 #endif
 		smp_message_recv();
 		return -2;	/* ignore, already handled */
-        }
-
-        {
-                unsigned int loops = MAXCOUNT;
-                while (test_bit(0, &global_irq_lock)) {
-                        if (smp_processor_id() == global_irq_holder) {
-                                printk("uh oh, interrupt while we hold global irq lock!\n");
-#ifdef CONFIG_XMON
-                                xmon(0);
-#endif
-                                break;
-                        }
-                        if (loops-- == 0) {
-                                printk("do_IRQ waiting for irq lock (holder=%d)\n", global_irq_holder);
-#ifdef CONFIG_XMON
-                                xmon(0);
-#endif
-                        }
-                }
         }
 #endif /* __SMP__ */
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)