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>2005-06-19 16:38:21 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-19 16:38:21 +0000
commit6c25db681a02db8f7aa77668461301aba4be6f9d (patch)
tree20b556201a279c9c4c29f8a819c6f7b522e6e2b8 /xen/include/asm-x86/smp.h
parent10a20d060114f54fefd31abd38a87b061542e573 (diff)
downloadxen-6c25db681a02db8f7aa77668461301aba4be6f9d.tar.gz
xen-6c25db681a02db8f7aa77668461301aba4be6f9d.tar.bz2
xen-6c25db681a02db8f7aa77668461301aba4be6f9d.zip
bitkeeper revision 1.1718.1.5 (42b59f7dHnuJ9AFj24zaneKCDkFTCg)
This patch adds dual-core support to xen, and improves HT detection. Adapted from linux 2.6.12. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h
index c70f4d90fc..552b699bc4 100644
--- a/xen/include/asm-x86/smp.h
+++ b/xen/include/asm-x86/smp.h
@@ -8,6 +8,7 @@
#include <xen/config.h>
#include <xen/kernel.h>
#include <xen/cpumask.h>
+#include <asm/current.h>
#endif
#ifdef CONFIG_X86_LOCAL_APIC
@@ -34,6 +35,7 @@ extern void smp_alloc_memory(void);
extern int pic_mode;
extern int smp_num_siblings;
extern cpumask_t cpu_sibling_map[];
+extern cpumask_t cpu_core_map[];
extern void smp_flush_tlb(void);
extern void smp_invalidate_rcv(void); /* Process an NMI */