diff options
Diffstat (limited to 'arch/x86/kernel/acpi/boot.c')
| -rw-r--r-- | arch/x86/kernel/acpi/boot.c | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index fb1035cd9a6..0acbcdfa5ca 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
| @@ -1185,9 +1185,6 @@ static void __init acpi_process_madt(void) | |||
| 1185 | if (!error) { | 1185 | if (!error) { |
| 1186 | acpi_lapic = 1; | 1186 | acpi_lapic = 1; |
| 1187 | 1187 | ||
| 1188 | #ifdef CONFIG_X86_BIGSMP | ||
| 1189 | generic_bigsmp_probe(); | ||
| 1190 | #endif | ||
| 1191 | /* | 1188 | /* |
| 1192 | * Parse MADT IO-APIC entries | 1189 | * Parse MADT IO-APIC entries |
| 1193 | */ | 1190 | */ |
| @@ -1197,8 +1194,6 @@ static void __init acpi_process_madt(void) | |||
| 1197 | acpi_ioapic = 1; | 1194 | acpi_ioapic = 1; |
| 1198 | 1195 | ||
| 1199 | smp_found_config = 1; | 1196 | smp_found_config = 1; |
| 1200 | if (apic->setup_apic_routing) | ||
| 1201 | apic->setup_apic_routing(); | ||
| 1202 | } | 1197 | } |
| 1203 | } | 1198 | } |
| 1204 | if (error == -EINVAL) { | 1199 | if (error == -EINVAL) { |
| @@ -1529,16 +1524,10 @@ static struct dmi_system_id __initdata acpi_dmi_table_late[] = { | |||
| 1529 | * if acpi_blacklisted() acpi_disabled = 1; | 1524 | * if acpi_blacklisted() acpi_disabled = 1; |
| 1530 | * acpi_irq_model=... | 1525 | * acpi_irq_model=... |
| 1531 | * ... | 1526 | * ... |
| 1532 | * | ||
| 1533 | * return value: (currently ignored) | ||
| 1534 | * 0: success | ||
| 1535 | * !0: failure | ||
| 1536 | */ | 1527 | */ |
| 1537 | 1528 | ||
| 1538 | int __init acpi_boot_table_init(void) | 1529 | void __init acpi_boot_table_init(void) |
| 1539 | { | 1530 | { |
| 1540 | int error; | ||
| 1541 | |||
| 1542 | dmi_check_system(acpi_dmi_table); | 1531 | dmi_check_system(acpi_dmi_table); |
| 1543 | 1532 | ||
| 1544 | /* | 1533 | /* |
| @@ -1546,15 +1535,14 @@ int __init acpi_boot_table_init(void) | |||
| 1546 | * One exception: acpi=ht continues far enough to enumerate LAPICs | 1535 | * One exception: acpi=ht continues far enough to enumerate LAPICs |
| 1547 | */ | 1536 | */ |
| 1548 | if (acpi_disabled && !acpi_ht) | 1537 | if (acpi_disabled && !acpi_ht) |
| 1549 | return 1; | 1538 | return; |
| 1550 | 1539 | ||
| 1551 | /* | 1540 | /* |
| 1552 | * Initialize the ACPI boot-time table parser. | 1541 | * Initialize the ACPI boot-time table parser. |
| 1553 | */ | 1542 | */ |
| 1554 | error = acpi_table_init(); | 1543 | if (acpi_table_init()) { |
| 1555 | if (error) { | ||
| 1556 | disable_acpi(); | 1544 | disable_acpi(); |
| 1557 | return error; | 1545 | return; |
| 1558 | } | 1546 | } |
| 1559 | 1547 | ||
| 1560 | acpi_table_parse(ACPI_SIG_BOOT, acpi_parse_sbf); | 1548 | acpi_table_parse(ACPI_SIG_BOOT, acpi_parse_sbf); |
| @@ -1562,18 +1550,15 @@ int __init acpi_boot_table_init(void) | |||
| 1562 | /* | 1550 | /* |
| 1563 | * blacklist may disable ACPI entirely | 1551 | * blacklist may disable ACPI entirely |
| 1564 | */ | 1552 | */ |
| 1565 | error = acpi_blacklisted(); | 1553 | if (acpi_blacklisted()) { |
| 1566 | if (error) { | ||
| 1567 | if (acpi_force) { | 1554 | if (acpi_force) { |
| 1568 | printk(KERN_WARNING PREFIX "acpi=force override\n"); | 1555 | printk(KERN_WARNING PREFIX "acpi=force override\n"); |
| 1569 | } else { | 1556 | } else { |
| 1570 | printk(KERN_WARNING PREFIX "Disabling ACPI support\n"); | 1557 | printk(KERN_WARNING PREFIX "Disabling ACPI support\n"); |
| 1571 | disable_acpi(); | 1558 | disable_acpi(); |
| 1572 | return error; | 1559 | return; |
| 1573 | } | 1560 | } |
| 1574 | } | 1561 | } |
| 1575 | |||
| 1576 | return 0; | ||
| 1577 | } | 1562 | } |
| 1578 | 1563 | ||
| 1579 | int __init early_acpi_boot_init(void) | 1564 | int __init early_acpi_boot_init(void) |
