summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorJan Kiszka2010-05-21 04:04:29 +0200
committerJason Wessel2010-05-21 04:04:29 +0200
commit29c843912a0baa7fa63033fe28e1ca7e796686a5 (patch)
tree74fd41a45ea2a85666e395ce52769bf069238eea /arch/x86/kernel/setup.c
parentkdb,debug_core: Allow the debug core to receive a panic notification (diff)
downloadkernel-qcow2-linux-29c843912a0baa7fa63033fe28e1ca7e796686a5.tar.gz
kernel-qcow2-linux-29c843912a0baa7fa63033fe28e1ca7e796686a5.tar.xz
kernel-qcow2-linux-29c843912a0baa7fa63033fe28e1ca7e796686a5.zip
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>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index c4851eff57b3..e8029896309a 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -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();