|
@@ -19,7 +19,7 @@ static int set_x2apic_phys_mode(char *arg)
|
|
}
|
|
}
|
|
early_param("x2apic_phys", set_x2apic_phys_mode);
|
|
early_param("x2apic_phys", set_x2apic_phys_mode);
|
|
|
|
|
|
-static int __init x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
|
|
|
|
|
|
+static int x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
|
|
{
|
|
{
|
|
if (cpu_has_x2apic && x2apic_phys)
|
|
if (cpu_has_x2apic && x2apic_phys)
|
|
return 1;
|
|
return 1;
|