x86: early_idt_handler improvements, 64-bit
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:33:06 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:06 +0000 (13:33 +0100)
commit8866cd9dc9d0bbadcf361a14e0cdfecb66473087
treed6780e43633c56a017618e615c92bb7854876686
parentd504e39efd4e64a1a6e01dc85fd8a33fdb196dce
x86: early_idt_handler improvements, 64-bit

It's not too pretty, but I found this made the "PANIC: early exception"
messages become much more reliably useful: 1. print the vector number,
2. print the %cs value, 3. handle error-code-pushing vs non-pushing vectors.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/head64.c
arch/x86/kernel/head_64.S
include/asm-x86/segment.h