diff options
author | Andi Kleen <andi@firstfloor.org> | 2008-03-11 02:23:20 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:41:29 +0200 |
commit | 5524ea320d80e3ac6aeeec44216660831c76da08 (patch) | |
tree | c4215dbc41cedac15838ff5110958fa7ed8e9a67 /arch/x86/kernel/head_64.S | |
parent | 366932deb335f0b84a08463c5c912bd42ac3397a (diff) | |
download | linux-5524ea320d80e3ac6aeeec44216660831c76da08.tar.gz linux-5524ea320d80e3ac6aeeec44216660831c76da08.tar.bz2 linux-5524ea320d80e3ac6aeeec44216660831c76da08.zip |
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/head_64.S')
-rw-r--r-- | arch/x86/kernel/head_64.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index 017216916dff..2c0abe0e3c68 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S @@ -278,10 +278,8 @@ bad_address: .globl early_idt_handlers early_idt_handlers: - early_idt_tramp 0, 63 - early_idt_tramp 64, 127 - early_idt_tramp 128, 191 - early_idt_tramp 192, 255 + .set maxe, NUM_EXCEPTION_VECTORS-1 + early_idt_tramp 0, maxe #endif ENTRY(early_idt_handler) |