Commit 7af0f30f authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] set acpi_disabled=1 on failure for clean /proc

  http://bugzilla.kernel.org/show_bug.cgi?id=991
parent 434b274f
...@@ -416,8 +416,10 @@ acpi_boot_init (void) ...@@ -416,8 +416,10 @@ acpi_boot_init (void)
* Initialize the ACPI boot-time table parser. * Initialize the ACPI boot-time table parser.
*/ */
result = acpi_table_init(); result = acpi_table_init();
if (result) if (result) {
acpi_disabled = 1;
return result; return result;
}
result = acpi_blacklisted(); result = acpi_blacklisted();
if (result) { if (result) {
......
...@@ -393,8 +393,10 @@ acpi_boot_init (void) ...@@ -393,8 +393,10 @@ acpi_boot_init (void)
* Initialize the ACPI boot-time table parser. * Initialize the ACPI boot-time table parser.
*/ */
result = acpi_table_init(); result = acpi_table_init();
if (result) if (result) {
acpi_disabled = 1;
return result; return result;
}
result = acpi_blacklisted(); result = acpi_blacklisted();
if (result) { if (result) {
......
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