From: Rafael J. Wysocki Date: Tue, 2 Oct 2007 20:24:08 +0000 (-0700) Subject: Hibernation: Make sure that ACPI is enabled in acpi_hibernation_finish X-Git-Tag: v2.6.24-rc1~135^2~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a0bb7362587807fec985f72fb0317aa8ed24835;p=pandora-kernel.git Hibernation: Make sure that ACPI is enabled in acpi_hibernation_finish If the BIOS does not enable ACPI and the "acpi=off" command line parameter is passed to the boot kernel, ACPI may be disabled when the (restored) image kernel attempts to execute acpi_hibernation_finish(). To prevent this from happening we can call acpi_enable() from acpi_hibernation_finish() (if ACPI is already enabled, this will have no effect). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed