[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson)



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID ec2ab25dacee63507c848cc1fd7542340326653c
# Parent  424e28ebc8822d6b5cc46776e4b7f52712824351
Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson)

diff -r 424e28ebc882 -r ec2ab25dacee xen/arch/ia64/xen/dom_fw.c
--- a/xen/arch/ia64/xen/dom_fw.c        Thu Nov 17 16:28:45 2005
+++ b/xen/arch/ia64/xen/dom_fw.c        Thu Nov 17 16:32:22 2005
@@ -466,11 +466,8 @@
 /* base is physical address of acpi table */
 void touch_acpi_table(void)
 {
-       u64 count = 0;
-       count = acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, 
NR_CPUS);
-       if ( count < 1)
+       if (acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, 0) < 0)
                printk("Error parsing MADT - no LAPIC entires\n");
-       printk("Total %d lsapic entry\n", count);
        acpi_table_parse(ACPI_APIC, acpi_update_madt_checksum);
 
        return;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.