diff mbox

acpi/test panic

Message ID 1285750547.12984.18.camel@minggr.sh.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lin Ming Sept. 29, 2010, 8:55 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index af109c7..07516d2 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1000,9 +1000,9 @@  static void __init set_osi_linux(unsigned int enable)
 	}
 
 	if (osi_linux.enable)
-		acpi_install_interface("Linux");
+		acpi_osi_setup("Linux");
 	else
-		acpi_remove_interface("Linux");
+		acpi_osi_setup("!Linux");
 
 	return;
 }