diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 07:33:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:06 -0500 |
commit | 8866cd9dc9d0bbadcf361a14e0cdfecb66473087 (patch) | |
tree | d6780e43633c56a017618e615c92bb7854876686 /include/asm-x86/segment.h | |
parent | d504e39efd4e64a1a6e01dc85fd8a33fdb196dce (diff) |
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>
Diffstat (limited to 'include/asm-x86/segment.h')
-rw-r--r-- | include/asm-x86/segment.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86/segment.h b/include/asm-x86/segment.h index 57c8d3723836..23f0535fec61 100644 --- a/include/asm-x86/segment.h +++ b/include/asm-x86/segment.h | |||
@@ -195,4 +195,10 @@ | |||
195 | #define GDT_ENTRY_TLS_ENTRIES 3 | 195 | #define GDT_ENTRY_TLS_ENTRIES 3 |
196 | #define TLS_SIZE (GDT_ENTRY_TLS_ENTRIES * 8) | 196 | #define TLS_SIZE (GDT_ENTRY_TLS_ENTRIES * 8) |
197 | 197 | ||
198 | #ifdef __KERNEL__ | ||
199 | #ifndef __ASSEMBLY__ | ||
200 | extern const char early_idt_handlers[IDT_ENTRIES][10]; | ||
201 | #endif | ||
202 | #endif | ||
203 | |||
198 | #endif | 204 | #endif |