aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/i8259.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-02-14 18:25:10 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-02-14 18:25:10 +0100
commitf25330e8694f5507e6b922641ef553303a3c0976 (patch)
treee81871c84505808023dc3fe2e922514cf5aa2d9e /xen/arch/x86/i8259.c
parent193af2f5c726788dd836c42561550029eadd7ce6 (diff)
downloadxen-f25330e8694f5507e6b922641ef553303a3c0976.tar.gz
xen-f25330e8694f5507e6b922641ef553303a3c0976.tar.bz2
xen-f25330e8694f5507e6b922641ef553303a3c0976.zip
More upgrades of Xen code to linux-2.6.16-rc2.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/i8259.c')
-rw-r--r--xen/arch/x86/i8259.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/xen/arch/x86/i8259.c b/xen/arch/x86/i8259.c
index 39ff8ce3cb..bf3a9a1d12 100644
--- a/xen/arch/x86/i8259.c
+++ b/xen/arch/x86/i8259.c
@@ -374,25 +374,7 @@ void __init init_IRQ(void)
irq_desc[LEGACY_VECTOR(i)].handler = &i8259A_irq_type;
}
- /*
- * IRQ0 must be given a fixed assignment and initialized,
- * because it's used before the IO-APIC is set up.
- */
- irq_vector[0] = FIRST_DEVICE_VECTOR;
- vector_irq[FIRST_DEVICE_VECTOR] = 0;
-
- /* Various IPI functions. */
- set_intr_gate(EVENT_CHECK_VECTOR, event_check_interrupt);
- set_intr_gate(INVALIDATE_TLB_VECTOR, invalidate_interrupt);
- set_intr_gate(CALL_FUNCTION_VECTOR, call_function_interrupt);
-
- /* Self-generated IPI for local APIC timer. */
- set_intr_gate(LOCAL_TIMER_VECTOR, apic_timer_interrupt);
-
- /* IPI vectors for APIC spurious and error interrupts. */
- set_intr_gate(SPURIOUS_APIC_VECTOR, spurious_interrupt);
- set_intr_gate(ERROR_APIC_VECTOR, error_interrupt);
- set_intr_gate(THERMAL_APIC_VECTOR, thermal_interrupt);
+ apic_intr_init();
/* Set the clock to HZ Hz */
#define CLOCK_TICK_RATE 1193180 /* crystal freq (Hz) */