diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-10-07 07:50:20 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-10-07 07:50:20 +0100 |
commit | af78c0b35d00dac353936ad6f8afc7f01f91c6d2 (patch) | |
tree | ecc92aaab03a47ed5433e94f233de4413f684c46 /xen/arch/x86/i8259.c | |
parent | 636eaa12d90b7151f454ec45dd47679292ece9ab (diff) | |
download | xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.gz xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.bz2 xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.zip |
Scattered code arrangement cleanups.
- remove redundant declarations
- add/move prototypes to headers
- move things where they belong to
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'xen/arch/x86/i8259.c')
-rw-r--r-- | xen/arch/x86/i8259.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/xen/arch/x86/i8259.c b/xen/arch/x86/i8259.c index 7981120413..a44dd068ae 100644 --- a/xen/arch/x86/i8259.c +++ b/xen/arch/x86/i8259.c @@ -53,30 +53,6 @@ BUILD_16_IRQS(0xc) BUILD_16_IRQS(0xd) BUILD_16_IRQS(0xe) BUILD_16_IRQS(0xf) #undef BI -/* - * The following vectors are part of the Linux architecture, there - * is no hardware IRQ pin equivalent for them, they are triggered - * through the ICC by us (IPIs) - */ -BUILD_SMP_INTERRUPT(irq_move_cleanup_interrupt,IRQ_MOVE_CLEANUP_VECTOR) -BUILD_SMP_INTERRUPT(event_check_interrupt,EVENT_CHECK_VECTOR) -BUILD_SMP_INTERRUPT(invalidate_interrupt,INVALIDATE_TLB_VECTOR) -BUILD_SMP_INTERRUPT(call_function_interrupt,CALL_FUNCTION_VECTOR) - -/* - * Every pentium local APIC has two 'local interrupts', with a - * soft-definable vector attached to both interrupts, one of - * which is a timer interrupt, the other one is error counter - * overflow. Linux uses the local APIC timer interrupt to get - * a much simpler SMP time architecture: - */ -BUILD_SMP_INTERRUPT(apic_timer_interrupt,LOCAL_TIMER_VECTOR) -BUILD_SMP_INTERRUPT(error_interrupt,ERROR_APIC_VECTOR) -BUILD_SMP_INTERRUPT(spurious_interrupt,SPURIOUS_APIC_VECTOR) -BUILD_SMP_INTERRUPT(pmu_apic_interrupt,PMU_APIC_VECTOR) -BUILD_SMP_INTERRUPT(thermal_interrupt,THERMAL_APIC_VECTOR) -BUILD_SMP_INTERRUPT(cmci_interrupt, CMCI_APIC_VECTOR) - #define IRQ(x,y) \ IRQ##x##y##_interrupt |