vserver 1.9.5.x5
[linux-2.6.git] / arch / mips / mips-boards / atlas / atlas_int.c
index 1e832a6..8f1d875 100644 (file)
@@ -23,7 +23,6 @@
  * Atlas board.
  *
  */
-#include <linux/config.h>
 #include <linux/compiler.h>
 #include <linux/init.h>
 #include <linux/sched.h>
@@ -118,12 +117,7 @@ void atlas_hw0_irqdispatch(struct pt_regs *regs)
        do_IRQ(irq, regs);
 }
 
-#ifdef CONFIG_KGDB
-extern void breakpoint(void);
-extern int remote_debug;
-#endif
-
-void __init init_IRQ(void)
+void __init arch_init_irq(void)
 {
        int i;
 
@@ -145,11 +139,4 @@ void __init init_IRQ(void)
                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
 }