Commit c1e9f81c authored by Andy Grover's avatar Andy Grover

ACPI: make it so acpismp=force works (reported by Andrew Morton)

parent d7374b3f
...@@ -520,7 +520,7 @@ static void __init parse_cmdline_early (char ** cmdline_p) ...@@ -520,7 +520,7 @@ static void __init parse_cmdline_early (char ** cmdline_p)
acpi_disabled = 1; acpi_disabled = 1;
/* "acpismp=force" turns on ACPI again */ /* "acpismp=force" turns on ACPI again */
else if (!memcmp(from, "acpismp=force", 14)) if (c == ' ' && !memcmp(from, "acpismp=force", 13))
acpi_disabled = 0; acpi_disabled = 0;
/* /*
...@@ -977,7 +977,7 @@ void __init setup_arch(char **cmdline_p) ...@@ -977,7 +977,7 @@ void __init setup_arch(char **cmdline_p)
generic_apic_probe(*cmdline_p); generic_apic_probe(*cmdline_p);
#endif #endif
#ifdef CONFIG_ACPI_BOOT #ifdef CONFIG_ACPI
/* /*
* Parse the ACPI tables for possible boot-time SMP configuration. * Parse the ACPI tables for possible boot-time SMP configuration.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment