x86, kgdb: early trap init for early debug

Allow the x86 arch to have early exception processing for the purpose
of debugging via the kgdb.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
This commit is contained in:
Jan Kiszka
2010-05-20 21:04:29 -05:00
committed by Jason Wessel
parent 4402c153cb
commit 29c843912a
3 changed files with 13 additions and 4 deletions

View File

@@ -725,6 +725,7 @@ void __init setup_arch(char **cmdline_p)
/* VMI may relocate the fixmap; do this before touching ioremap area */
vmi_init();
early_trap_init();
early_cpu_init();
early_ioremap_init();