This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / mips / gt64120 / momenco_ocelot / irq.c
index 1b56df4..6812277 100644 (file)
@@ -41,7 +41,7 @@
 #include <linux/timex.h>
 #include <linux/slab.h>
 #include <linux/random.h>
-#include <linux/bitops.h>
+#include <asm/bitops.h>
 #include <asm/bootinfo.h>
 #include <asm/io.h>
 #include <asm/irq.h>
@@ -51,7 +51,7 @@
 
 extern asmlinkage void ocelot_handle_int(void);
 
-void __init arch_init_irq(void)
+void __init init_IRQ(void)
 {
        /*
         * Clear all of the interrupts while we change the able around a bit.
@@ -63,6 +63,13 @@ void __init arch_init_irq(void)
        /* Sets the first-level interrupt dispatcher. */
        set_except_vector(0, ocelot_handle_int);
 
+       init_generic_irq();
        mips_cpu_irq_init(0);
        rm7k_cpu_irq_init(8);
+
+#ifdef CONFIG_KGDB
+       printk("start kgdb ...\n");
+       set_debug_traps();
+       breakpoint();   /* you may move this line to whereever you want :-) */
+#endif
 }