diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-05-20 22:04:21 -0400 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-05-20 22:04:21 -0400 |
commit | 67fc4e0cb931d6b4ccf21248e4199b154478ecea (patch) | |
tree | 4cf49d00bc9ac03c3c77d91fadd13fcabc75e0c9 /init | |
parent | 5d5314d6795f3c1c0f415348ff8c51f7de042b77 (diff) |
kdb: core for kgdb back end (2 of 2)
This patch contains the hooks and instrumentation into kernel which
live outside the kernel/debug directory, which the kdb core
will call to run commands like lsmod, dmesg, bt etc...
CC: linux-arch@vger.kernel.org
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Martin Hicks <mort@sgi.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index 5c8540271529..372771333d98 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -62,6 +62,7 @@ | |||
62 | #include <linux/sched.h> | 62 | #include <linux/sched.h> |
63 | #include <linux/signal.h> | 63 | #include <linux/signal.h> |
64 | #include <linux/idr.h> | 64 | #include <linux/idr.h> |
65 | #include <linux/kdb.h> | ||
65 | #include <linux/ftrace.h> | 66 | #include <linux/ftrace.h> |
66 | #include <linux/async.h> | 67 | #include <linux/async.h> |
67 | #include <linux/kmemcheck.h> | 68 | #include <linux/kmemcheck.h> |
@@ -675,6 +676,7 @@ asmlinkage void __init start_kernel(void) | |||
675 | buffer_init(); | 676 | buffer_init(); |
676 | key_init(); | 677 | key_init(); |
677 | security_init(); | 678 | security_init(); |
679 | kdb_init(KDB_INIT_FULL); | ||
678 | vfs_caches_init(totalram_pages); | 680 | vfs_caches_init(totalram_pages); |
679 | signals_init(); | 681 | signals_init(); |
680 | /* rootfs populating might need page-writeback */ | 682 | /* rootfs populating might need page-writeback */ |