diff options
author | Andrew Cooper <andrew.cooper3@citrix.com> | 2012-02-09 06:14:20 -0800 |
---|---|---|
committer | Andrew Cooper <andrew.cooper3@citrix.com> | 2012-02-09 06:14:20 -0800 |
commit | 36556194faa97929b06adf50cdd327ff5dae54e9 (patch) | |
tree | bad60cf93fd3a09451deb563714b2ac6e68f389c /xen/arch/x86/io_apic.c | |
parent | c15e8799eab113f28f343e68433b955ba7f77cbf (diff) | |
download | xen-36556194faa97929b06adf50cdd327ff5dae54e9.tar.gz xen-36556194faa97929b06adf50cdd327ff5dae54e9.tar.bz2 xen-36556194faa97929b06adf50cdd327ff5dae54e9.zip |
CONFIG: remove CONFIG_SMP #ifdefs
CONFIG_SMP is always enabled and !CONFIG_SMP is not supported. So
simplify the code a little by removing all #ifdefs.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/io_apic.c')
-rw-r--r-- | xen/arch/x86/io_apic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/arch/x86/io_apic.c b/xen/arch/x86/io_apic.c index c833820909..1c8334924a 100644 --- a/xen/arch/x86/io_apic.c +++ b/xen/arch/x86/io_apic.c @@ -513,7 +513,6 @@ static void clear_IO_APIC (void) } } -#ifdef CONFIG_SMP static void set_ioapic_affinity_irq(struct irq_desc *desc, const cpumask_t *mask) { @@ -550,7 +549,6 @@ set_ioapic_affinity_irq(struct irq_desc *desc, const cpumask_t *mask) spin_unlock_irqrestore(&ioapic_lock, flags); } -#endif /* CONFIG_SMP */ /* * Find the IRQ entry number of a certain pin. @@ -630,7 +628,6 @@ static int pin_2_irq(int idx, int apic, int pin); * we need to reprogram the ioredtbls to cater for the cpus which have come online * so mask in all cases should simply be TARGET_CPUS */ -#ifdef CONFIG_SMP void /*__init*/ setup_ioapic_dest(void) { int pin, ioapic, irq, irq_entry; @@ -653,7 +650,6 @@ void /*__init*/ setup_ioapic_dest(void) } } -#endif /* * EISA Edge/Level control register, ELCR |