ia64/xen-unstable

changeset 7738:ec2ab25dacee

Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson)
author djm@kirby.fc.hp.com
date Thu Nov 17 10:32:22 2005 -0600 (2005-11-17)
parents 424e28ebc882
children 51f32d60536b
files xen/arch/ia64/xen/dom_fw.c
line diff
     1.1 --- a/xen/arch/ia64/xen/dom_fw.c	Thu Nov 17 10:28:45 2005 -0600
     1.2 +++ b/xen/arch/ia64/xen/dom_fw.c	Thu Nov 17 10:32:22 2005 -0600
     1.3 @@ -466,11 +466,8 @@ acpi_update_madt_checksum (unsigned long
     1.4  /* base is physical address of acpi table */
     1.5  void touch_acpi_table(void)
     1.6  {
     1.7 -	u64 count = 0;
     1.8 -	count = acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, NR_CPUS);
     1.9 -	if ( count < 1)
    1.10 +	if (acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, 0) < 0)
    1.11  		printk("Error parsing MADT - no LAPIC entires\n");
    1.12 -	printk("Total %d lsapic entry\n", count);
    1.13  	acpi_table_parse(ACPI_APIC, acpi_update_madt_checksum);
    1.14  
    1.15  	return;