aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-04-03 17:47:42 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-04-03 17:47:42 +0100
commit4b233c874995b8094af311962df7a1fc999595e7 (patch)
treedb836133adaf82dcf4bd4a7f0d2d25e21da9d551 /xen/include/asm-x86/smp.h
parentf55976facfbc63f0c8619070a5b2be32a915a67a (diff)
downloadxen-4b233c874995b8094af311962df7a1fc999595e7.tar.gz
xen-4b233c874995b8094af311962df7a1fc999595e7.tar.bz2
xen-4b233c874995b8094af311962df7a1fc999595e7.zip
Clean up subarch 'mach-foo' header files. No need for
subarch apicdef.h and ipi.h can be much simplified. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/smp.h')
-rw-r--r--xen/include/asm-x86/smp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h
index f05c5feb0e..f23b915873 100644
--- a/xen/include/asm-x86/smp.h
+++ b/xen/include/asm-x86/smp.h
@@ -74,16 +74,11 @@ static inline int num_booting_cpus(void)
#ifdef CONFIG_X86_LOCAL_APIC
-#ifdef APIC_DEFINITION
-extern int hard_smp_processor_id(void);
-#else
-#include <mach_apicdef.h>
static inline int hard_smp_processor_id(void)
{
/* we don't want to mark this access volatile - bad code generation */
return GET_APIC_ID(*(unsigned int *)(APIC_BASE+APIC_ID));
}
-#endif
static __inline int logical_smp_processor_id(void)
{