This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / mips / ddb5xxx / ddb5074 / irq.c
index 228117e..547386d 100644 (file)
@@ -134,8 +134,14 @@ void ddb_8254timer_irq(void)
        printk("ddb_8254timer_irq called\n");
 }
 
-void __init arch_init_irq(void)
+void __init ddb_irq_setup(void)
 {
+#ifdef CONFIG_KGDB
+       if (remote_debug)
+               set_debug_traps();
+       breakpoint();           /* you may move this line to whereever you want :-) */
+#endif
+
        /* setup cascade interrupts */
        setup_irq(NILE4_IRQ_BASE  + NILE4_INT_INTE, &irq_cascade);
        setup_irq(CPU_IRQ_BASE + CPU_NILE4_CASCADE, &irq_cascade);
@@ -157,4 +163,6 @@ void __init arch_init_irq(void)
 
        /* Enable the interrupt cascade */
        nile4_enable_irq(NILE4_IRQ_BASE+IRQ_I8259_CASCADE);
+
+
 }