aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/smp.h
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/include/asm-x86/smp.h
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/include/asm-x86/smp.h')
-rw-r--r--xen/include/asm-x86/smp.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h
index f8caff292d..8d5e7147b8 100644
--- a/xen/include/asm-x86/smp.h
+++ b/xen/include/asm-x86/smp.h
@@ -17,7 +17,6 @@
#endif
#define BAD_APICID -1U
-#ifdef CONFIG_SMP
#ifndef __ASSEMBLY__
/*
@@ -65,11 +64,4 @@ void __stop_this_cpu(void);
#endif /* !__ASSEMBLY__ */
-#else /* CONFIG_SMP */
-
-#define cpu_physical_id(cpu) boot_cpu_physical_apicid
-
-#define NO_PROC_ID 0xFF /* No processor magic marker */
-
-#endif
#endif