diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-03-18 14:55:36 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-03-18 14:55:36 +0000 |
commit | 0de39e40277b50f7bca390602216e19a809cc45c (patch) | |
tree | f39d17f0bfea26fc65e94b0c1d634805a5a81f63 /xen/arch/x86/srat.c | |
parent | 751e5ae7c399e0dcfad64bf6a2f35f325e7d87d2 (diff) | |
download | xen-0de39e40277b50f7bca390602216e19a809cc45c.tar.gz xen-0de39e40277b50f7bca390602216e19a809cc45c.tar.bz2 xen-0de39e40277b50f7bca390602216e19a809cc45c.zip |
Update ACPI headers to Linux 2.6.24.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/srat.c')
-rw-r--r-- | xen/arch/x86/srat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/srat.c b/xen/arch/x86/srat.c index ea462e222b..1fe9f895f5 100644 --- a/xen/arch/x86/srat.c +++ b/xen/arch/x86/srat.c @@ -106,7 +106,7 @@ static __init inline int srat_disabled(void) static __init int slit_valid(struct acpi_table_slit *slit) { int i, j; - int d = slit->localities; + int d = slit->locality_count; for (i = 0; i < d; i++) { for (j = 0; j < d; j++) { u8 val = slit->entry[d*i + j]; @@ -308,7 +308,7 @@ int __node_distance(int a, int b) if (!acpi_slit) return a == b ? 10 : 20; - index = acpi_slit->localities * node_to_pxm(a); + index = acpi_slit->locality_count * node_to_pxm(a); return acpi_slit->entry[index + node_to_pxm(b)]; } |