Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson)

This commit is contained in:
djm@kirby.fc.hp.com committed 2005-11-17 10:32:22 -06:00
1 parent da6c57b623
commit 64f8b7c045
1 file changed
+1 -4
+1 -4
View File
@@ -466,11 +466,8 @@ acpi_update_madt_checksum (unsigned long phys_addr, unsigned long size)
/* 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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.