aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/mach-generic
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-25 12:25:54 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-25 12:25:54 +0100
commit582724b0ea12d27f3a18c8c3c15cccf7d655dae6 (patch)
tree7ab46ccde55050f9725b8446edfe48d2ae5ea316 /xen/include/asm-x86/mach-generic
parent67ce9409e141bb4949f2f037e937ef3fc18a8608 (diff)
downloadxen-582724b0ea12d27f3a18c8c3c15cccf7d655dae6.tar.gz
xen-582724b0ea12d27f3a18c8c3c15cccf7d655dae6.tar.bz2
xen-582724b0ea12d27f3a18c8c3c15cccf7d655dae6.zip
[XEN] Add basic NUMA/SRAT support to Xen from Linux 2.6.16.29.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Diffstat (limited to 'xen/include/asm-x86/mach-generic')
-rw-r--r--xen/include/asm-x86/mach-generic/mach_apic.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/xen/include/asm-x86/mach-generic/mach_apic.h b/xen/include/asm-x86/mach-generic/mach_apic.h
index 1d3ed4dc67..1e0a6019d6 100644
--- a/xen/include/asm-x86/mach-generic/mach_apic.h
+++ b/xen/include/asm-x86/mach-generic/mach_apic.h
@@ -22,11 +22,7 @@ static inline void enable_apic_mode(void)
return;
}
-/* No sane NUMA support right now. We should parse ACPI SRAT. */
-static inline int apicid_to_node(int logical_apicid)
-{
- return 0;
-}
+#define apicid_to_node(apicid) ((int)apicid_to_node[(u8)apicid])
extern u8 bios_cpu_apicid[];
static inline int cpu_present_to_apicid(int mps_cpu)