Message ID | 4C53C7E7.4040204@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: linux-2.6/drivers/acpi/processor_core.c =================================================================== --- linux-2.6.orig/drivers/acpi/processor_core.c +++ linux-2.6/drivers/acpi/processor_core.c @@ -69,7 +69,7 @@ static int map_x2apic_id(struct acpi_sub if (!(apic->lapic_flags & ACPI_MADT_ENABLED)) return 0; - if (device_declaration && (apic->uid == acpi_id)) { + if ((device_declaration || (acpi_id < 255)) && (apic->uid == acpi_id)) { *apic_id = apic->local_apic_id; return 1; }