x86, kgdb, init: Add early and late debug states
[sfrench/cifs-2.6.git] / init / main.c
index 372771333d983d1eb692032ac47db70ef080924c..22881b5e95e3b00e010b407310539fbd4e1a8a57 100644 (file)
@@ -62,7 +62,7 @@
 #include <linux/sched.h>
 #include <linux/signal.h>
 #include <linux/idr.h>
-#include <linux/kdb.h>
+#include <linux/kgdb.h>
 #include <linux/ftrace.h>
 #include <linux/async.h>
 #include <linux/kmemcheck.h>
@@ -676,7 +676,7 @@ asmlinkage void __init start_kernel(void)
        buffer_init();
        key_init();
        security_init();
-       kdb_init(KDB_INIT_FULL);
+       dbg_late_init();
        vfs_caches_init(totalram_pages);
        signals_init();
        /* rootfs populating might need page-writeback */