patch-2.4.25 linux-2.4.25/drivers/acpi/bus.c

Next file: linux-2.4.25/drivers/acpi/button.c
Previous file: linux-2.4.25/drivers/acpi/battery.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/acpi/bus.c linux-2.4.25/drivers/acpi/bus.c
@@ -2047,8 +2047,10 @@
 #endif
 
 	result = acpi_bus_init();
-	if (result)
+	if (result) {
+		acpi_disabled = 1;
 		return_VALUE(result);
+	}
 
 #ifdef CONFIG_PM
 	pm_active = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)