aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-02-02 18:27:05 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-02-02 18:27:05 +0000
commit9188844c02797f5202e87530974e3ba2fb51a551 (patch)
tree521a5da00076a93f57e019142fa22bf01685ce86 /xen/include/asm-x86/smp.h
parent0e0c5e7aef46f8a3ae1daf83169288b4d520a077 (diff)
downloadxen-9188844c02797f5202e87530974e3ba2fb51a551.tar.gz
xen-9188844c02797f5202e87530974e3ba2fb51a551.tar.bz2
xen-9188844c02797f5202e87530974e3ba2fb51a551.zip
bitkeeper revision 1.1159.212.72 (42011b79Y7C9nEKFZ5pdQXwp8jC9hw)
More x86/64. Now boot secondary CPUs, but I seem to have problems executing IRET, so interrupts are fatal. Signed-off-by: keir.fraser@cl.cam.ac.uk
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 b4d79087c5..e1e9443035 100644
--- a/xen/include/asm-x86/smp.h
+++ b/xen/include/asm-x86/smp.h
@@ -61,12 +61,7 @@ extern void smp_store_cpu_info(int id); /* Store per CPU info (like the initial
* so this is correct in the x86 case.
*/
-#if defined(__i386__)
#define smp_processor_id() (current->processor)
-#elif defined(__x86_64__)
-#include <asm/pda.h>
-#define smp_processor_id() read_pda(cpunumber)
-#endif
static __inline int hard_smp_processor_id(void)
{