aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/head64.c
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2008-03-10 21:23:20 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:29 -0400
commit5524ea320d80e3ac6aeeec44216660831c76da08 (patch)
treec4215dbc41cedac15838ff5110958fa7ed8e9a67 /arch/x86/kernel/head64.c
parent366932deb335f0b84a08463c5c912bd42ac3397a (diff)
x86: don't set up early exception handlers for external interrupts
All of early setup runs with interrupts disabled, so there is no need to set up early exception handlers for vectors >= 32 This saves some minor text size. Signed-off-by: Andi Kleen <ak@suse.de> Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/head64.c')
-rw-r--r--arch/x86/kernel/head64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c
index 48be76cda93b..d6d54faa84df 100644
--- a/arch/x86/kernel/head64.c
+++ b/arch/x86/kernel/head64.c
@@ -127,7 +127,7 @@ void __init x86_64_start_kernel(char * real_mode_data)
127 /* Cleanup the over mapped high alias */ 127 /* Cleanup the over mapped high alias */
128 cleanup_highmap(); 128 cleanup_highmap();
129 129
130 for (i = 0; i < IDT_ENTRIES; i++) { 130 for (i = 0; i < NUM_EXCEPTION_VECTORS; i++) {
131#ifdef CONFIG_EARLY_PRINTK 131#ifdef CONFIG_EARLY_PRINTK
132 set_intr_gate(i, &early_idt_handlers[i]); 132 set_intr_gate(i, &early_idt_handlers[i]);
133#else 133#else