|
@@ -847,18 +847,6 @@ static int __init acpi_parse_fadt(struct acpi_table_header *table)
|
|
|
* returns 0 on success, < 0 on error
|
|
|
*/
|
|
|
|
|
|
-static void __init acpi_register_lapic_address(unsigned long address)
|
|
|
-{
|
|
|
- mp_lapic_addr = address;
|
|
|
-
|
|
|
- set_fixmap_nocache(FIX_APIC_BASE, address);
|
|
|
- if (boot_cpu_physical_apicid == -1U) {
|
|
|
- boot_cpu_physical_apicid = read_apic_id();
|
|
|
- apic_version[boot_cpu_physical_apicid] =
|
|
|
- GET_APIC_VERSION(apic_read(APIC_LVR));
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
static int __init early_acpi_parse_madt_lapic_addr_ovr(void)
|
|
|
{
|
|
|
int count;
|
|
@@ -880,7 +868,7 @@ static int __init early_acpi_parse_madt_lapic_addr_ovr(void)
|
|
|
return count;
|
|
|
}
|
|
|
|
|
|
- acpi_register_lapic_address(acpi_lapic_addr);
|
|
|
+ register_lapic_address(acpi_lapic_addr);
|
|
|
|
|
|
return count;
|
|
|
}
|
|
@@ -907,7 +895,7 @@ static int __init acpi_parse_madt_lapic_entries(void)
|
|
|
return count;
|
|
|
}
|
|
|
|
|
|
- acpi_register_lapic_address(acpi_lapic_addr);
|
|
|
+ register_lapic_address(acpi_lapic_addr);
|
|
|
|
|
|
count = acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_SAPIC,
|
|
|
acpi_parse_sapic, MAX_APICS);
|