Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / arch / mips / tx4927 / common / tx4927_setup.c
index 73d188f..77c3b66 100644 (file)
@@ -38,7 +38,7 @@
 #include <linux/slab.h>
 #include <linux/random.h>
 #include <linux/irq.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/bootinfo.h>
 #include <asm/io.h>
 #include <asm/irq.h>
@@ -64,7 +64,7 @@ static void tx4927_write_buffer_flush(void)
 }
 
 
-static void __init tx4927_setup(void)
+void __init plat_setup(void)
 {
        board_time_init = tx4927_time_init;
        board_timer_setup = tx4927_timer_setup;
@@ -76,12 +76,8 @@ static void __init tx4927_setup(void)
                toshiba_rbtx4927_setup();
        }
 #endif
-
-       return;
 }
 
-early_initcall(tx4927_setup);
-
 void __init tx4927_time_init(void)
 {
 
@@ -92,15 +88,6 @@ 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;
 }
 
@@ -161,7 +148,7 @@ dump_cp0(char *key)
        print_cp0(key, 16, "CONFIG  ", read_c0_config());
        return;
 }
-       
+
 void print_pic(char *key, u32 reg, char *name)
 {
        printk("%s pic:0x%08x:%s=0x%08x\n", key, reg, name,