This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / mips / tx4927 / common / tx4927_setup.c
index 16bcbdc..73d188f 100644 (file)
@@ -38,7 +38,7 @@
 #include <linux/slab.h>
 #include <linux/random.h>
 #include <linux/irq.h>
-#include <linux/bitops.h>
+#include <asm/bitops.h>
 #include <asm/bootinfo.h>
 #include <asm/io.h>
 #include <asm/irq.h>
@@ -92,6 +92,15 @@ void __init tx4927_time_init(void)
        }
 #endif
 
+#ifdef CONFIG_KGDB
+       {
+               printk("Calling breakpoint() -- start remote kgdb\n");
+               set_debug_traps();
+               breakpoint();
+               printk("Calling breakpoint() -- done\n");
+       }
+#endif
+
        return;
 }