do_IRQ(irq, regs);
}
-void __init arch_init_irq(void)
+#ifdef CONFIG_KGDB
+extern void breakpoint(void);
+extern int remote_debug;
+#endif
+
+void __init init_IRQ(void)
{
int i;
irq_desc[i].handler = &atlas_irq_type;
spin_lock_init(&irq_desc[i].lock);
}
+
+#ifdef CONFIG_KGDB
+ if (remote_debug) {
+ set_debug_traps();
+ breakpoint();
+ }
+#endif
}