aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2010-05-28 16:20:35 -0400
committerLen Brown <len.brown@intel.com>2010-05-28 16:20:35 -0400
commitd3b383338f105f50724c10a7d81b04a3930e886b (patch)
tree73c55f260136aa0f24571c1307a432caca4f0349 /arch/x86/kernel/acpi
parentedbe77ba94217868caf5f391d2a083729bef3742 (diff)
parent68ca406930d6380b3be7ada5f15fcf85bfcbd552 (diff)
Merge branch 'ht-delete-2.6.35' into release
Diffstat (limited to 'arch/x86/kernel/acpi')
-rw-r--r--arch/x86/kernel/acpi/boot.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index cd40aba6aa9..b7023430d4d 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -63,7 +63,6 @@ EXPORT_SYMBOL(acpi_disabled);
63int acpi_noirq; /* skip ACPI IRQ initialization */ 63int acpi_noirq; /* skip ACPI IRQ initialization */
64int acpi_pci_disabled; /* skip ACPI PCI scan and IRQ initialization */ 64int acpi_pci_disabled; /* skip ACPI PCI scan and IRQ initialization */
65EXPORT_SYMBOL(acpi_pci_disabled); 65EXPORT_SYMBOL(acpi_pci_disabled);
66int acpi_ht __initdata = 1; /* enable HT */
67 66
68int acpi_lapic; 67int acpi_lapic;
69int acpi_ioapic; 68int acpi_ioapic;
@@ -1464,9 +1463,8 @@ void __init acpi_boot_table_init(void)
1464 1463
1465 /* 1464 /*
1466 * If acpi_disabled, bail out 1465 * If acpi_disabled, bail out
1467 * One exception: acpi=ht continues far enough to enumerate LAPICs
1468 */ 1466 */
1469 if (acpi_disabled && !acpi_ht) 1467 if (acpi_disabled)
1470 return; 1468 return;
1471 1469
1472 /* 1470 /*
@@ -1497,9 +1495,8 @@ int __init early_acpi_boot_init(void)
1497{ 1495{
1498 /* 1496 /*
1499 * If acpi_disabled, bail out 1497 * If acpi_disabled, bail out
1500 * One exception: acpi=ht continues far enough to enumerate LAPICs
1501 */ 1498 */
1502 if (acpi_disabled && !acpi_ht) 1499 if (acpi_disabled)
1503 return 1; 1500 return 1;
1504 1501
1505 /* 1502 /*
@@ -1517,9 +1514,8 @@ int __init acpi_boot_init(void)
1517 1514
1518 /* 1515 /*
1519 * If acpi_disabled, bail out 1516 * If acpi_disabled, bail out
1520 * One exception: acpi=ht continues far enough to enumerate LAPICs
1521 */ 1517 */
1522 if (acpi_disabled && !acpi_ht) 1518 if (acpi_disabled)
1523 return 1; 1519 return 1;
1524 1520
1525 acpi_table_parse(ACPI_SIG_BOOT, acpi_parse_sbf); 1521 acpi_table_parse(ACPI_SIG_BOOT, acpi_parse_sbf);
@@ -1554,21 +1550,12 @@ static int __init parse_acpi(char *arg)
1554 /* acpi=force to over-ride black-list */ 1550 /* acpi=force to over-ride black-list */
1555 else if (strcmp(arg, "force") == 0) { 1551 else if (strcmp(arg, "force") == 0) {
1556 acpi_force = 1; 1552 acpi_force = 1;
1557 acpi_ht = 1;
1558 acpi_disabled = 0; 1553 acpi_disabled = 0;
1559 } 1554 }
1560 /* acpi=strict disables out-of-spec workarounds */ 1555 /* acpi=strict disables out-of-spec workarounds */
1561 else if (strcmp(arg, "strict") == 0) { 1556 else if (strcmp(arg, "strict") == 0) {
1562 acpi_strict = 1; 1557 acpi_strict = 1;
1563 } 1558 }
1564 /* Limit ACPI just to boot-time to enable HT */
1565 else if (strcmp(arg, "ht") == 0) {
1566 if (!acpi_force) {
1567 printk(KERN_WARNING "acpi=ht will be removed in Linux-2.6.35\n");
1568 disable_acpi();
1569 }
1570 acpi_ht = 1;
1571 }
1572 /* acpi=rsdt use RSDT instead of XSDT */ 1559 /* acpi=rsdt use RSDT instead of XSDT */
1573 else if (strcmp(arg, "rsdt") == 0) { 1560 else if (strcmp(arg, "rsdt") == 0) {
1574 acpi_rsdt_forced = 1; 1561 acpi_rsdt_forced = 1;