aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/acpi/boot.c')
-rw-r--r--arch/x86/kernel/acpi/boot.c35
1 files changed, 6 insertions, 29 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index fb1035cd9a6a..af1c5833ff23 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) {
@@ -1349,14 +1344,6 @@ static struct dmi_system_id __initdata acpi_dmi_table[] = {
1349 }, 1344 },
1350 { 1345 {
1351 .callback = force_acpi_ht, 1346 .callback = force_acpi_ht,
1352 .ident = "ASUS P2B-DS",
1353 .matches = {
1354 DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
1355 DMI_MATCH(DMI_BOARD_NAME, "P2B-DS"),
1356 },
1357 },
1358 {
1359 .callback = force_acpi_ht,
1360 .ident = "ASUS CUR-DLS", 1347 .ident = "ASUS CUR-DLS",
1361 .matches = { 1348 .matches = {
1362 DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."), 1349 DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
@@ -1529,16 +1516,10 @@ static struct dmi_system_id __initdata acpi_dmi_table_late[] = {
1529 * if acpi_blacklisted() acpi_disabled = 1; 1516 * if acpi_blacklisted() acpi_disabled = 1;
1530 * acpi_irq_model=... 1517 * acpi_irq_model=...
1531 * ... 1518 * ...
1532 *
1533 * return value: (currently ignored)
1534 * 0: success
1535 * !0: failure
1536 */ 1519 */
1537 1520
1538int __init acpi_boot_table_init(void) 1521void __init acpi_boot_table_init(void)
1539{ 1522{
1540 int error;
1541
1542 dmi_check_system(acpi_dmi_table); 1523 dmi_check_system(acpi_dmi_table);
1543 1524
1544 /* 1525 /*
@@ -1546,15 +1527,14 @@ int __init acpi_boot_table_init(void)
1546 * One exception: acpi=ht continues far enough to enumerate LAPICs 1527 * One exception: acpi=ht continues far enough to enumerate LAPICs
1547 */ 1528 */
1548 if (acpi_disabled && !acpi_ht) 1529 if (acpi_disabled && !acpi_ht)
1549 return 1; 1530 return;
1550 1531
1551 /* 1532 /*
1552 * Initialize the ACPI boot-time table parser. 1533 * Initialize the ACPI boot-time table parser.
1553 */ 1534 */
1554 error = acpi_table_init(); 1535 if (acpi_table_init()) {
1555 if (error) {
1556 disable_acpi(); 1536 disable_acpi();
1557 return error; 1537 return;
1558 } 1538 }
1559 1539
1560 acpi_table_parse(ACPI_SIG_BOOT, acpi_parse_sbf); 1540 acpi_table_parse(ACPI_SIG_BOOT, acpi_parse_sbf);
@@ -1562,18 +1542,15 @@ int __init acpi_boot_table_init(void)
1562 /* 1542 /*
1563 * blacklist may disable ACPI entirely 1543 * blacklist may disable ACPI entirely
1564 */ 1544 */
1565 error = acpi_blacklisted(); 1545 if (acpi_blacklisted()) {
1566 if (error) {
1567 if (acpi_force) { 1546 if (acpi_force) {
1568 printk(KERN_WARNING PREFIX "acpi=force override\n"); 1547 printk(KERN_WARNING PREFIX "acpi=force override\n");
1569 } else { 1548 } else {
1570 printk(KERN_WARNING PREFIX "Disabling ACPI support\n"); 1549 printk(KERN_WARNING PREFIX "Disabling ACPI support\n");
1571 disable_acpi(); 1550 disable_acpi();
1572 return error; 1551 return;
1573 } 1552 }
1574 } 1553 }
1575
1576 return 0;
1577} 1554}
1578 1555
1579int __init early_acpi_boot_init(void) 1556int __init early_acpi_boot_init(void)