aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/apic.c
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2012-02-09 06:14:20 -0800
committerAndrew Cooper <andrew.cooper3@citrix.com>2012-02-09 06:14:20 -0800
commit36556194faa97929b06adf50cdd327ff5dae54e9 (patch)
treebad60cf93fd3a09451deb563714b2ac6e68f389c /xen/arch/x86/apic.c
parentc15e8799eab113f28f343e68433b955ba7f77cbf (diff)
downloadxen-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/apic.c')
-rw-r--r--xen/arch/x86/apic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/arch/x86/apic.c b/xen/arch/x86/apic.c
index 04b9a28f47..f3f1781880 100644
--- a/xen/arch/x86/apic.c
+++ b/xen/arch/x86/apic.c
@@ -145,9 +145,8 @@ void ack_bad_irq(unsigned int irq)
void __init apic_intr_init(void)
{
-#ifdef CONFIG_SMP
smp_intr_init();
-#endif
+
/* self generated IPI for local APIC timer */
set_intr_gate(LOCAL_TIMER_VECTOR, apic_timer_interrupt);