From: Eric W. Biederman Date: Fri, 23 Feb 2007 11:36:25 +0000 (-0700) Subject: [PATCH] x86_64 irq: Remove unnecessary irq 0 setup. X-Git-Tag: v2.6.21-rc2~51 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b93179bdfcbb0154e63e57194e2648bd0ff648a7;p=linux-2.6-omap-h63xx.git [PATCH] x86_64 irq: Remove unnecessary irq 0 setup. The code in io_apic.c and in i8259.c currently hardcode the same vector for the timer interrupt so there is no reason for a special assignment for the timer as the setup for the i8259 already takes care of this. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/i8259.c b/arch/x86_64/kernel/i8259.c index 01e2cf0bdeb..103517d9f8e 100644 --- a/arch/x86_64/kernel/i8259.c +++ b/arch/x86_64/kernel/i8259.c @@ -519,12 +519,6 @@ void __init init_IRQ(void) } #ifdef CONFIG_SMP - /* - * IRQ0 must be given a fixed assignment and initialized, - * because it's used before the IO-APIC is set up. - */ - __get_cpu_var(vector_irq)[FIRST_DEVICE_VECTOR] = 0; - /* * The reschedule interrupt is a CPU-to-CPU reschedule-helper * IPI, driven by wakeup.