aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-23 06:36:25 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-26 13:34:08 -0500
commitb93179bdfcbb0154e63e57194e2648bd0ff648a7 (patch)
tree1c4132ec2185feccbfc70fdc93c58d6b72957160
parentdfbffdd81c5d029ca8f8a754ce0eb8199c418eba (diff)
[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 <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/x86_64/kernel/i8259.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86_64/kernel/i8259.c b/arch/x86_64/kernel/i8259.c
index 01e2cf0bdeb1..103517d9f8e6 100644
--- a/arch/x86_64/kernel/i8259.c
+++ b/arch/x86_64/kernel/i8259.c
@@ -520,12 +520,6 @@ void __init init_IRQ(void)
520 520
521#ifdef CONFIG_SMP 521#ifdef CONFIG_SMP
522 /* 522 /*
523 * IRQ0 must be given a fixed assignment and initialized,
524 * because it's used before the IO-APIC is set up.
525 */
526 __get_cpu_var(vector_irq)[FIRST_DEVICE_VECTOR] = 0;
527
528 /*
529 * The reschedule interrupt is a CPU-to-CPU reschedule-helper 523 * The reschedule interrupt is a CPU-to-CPU reschedule-helper
530 * IPI, driven by wakeup. 524 * IPI, driven by wakeup.
531 */ 525 */