]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: Do not prepare for hibernation in acpi_shutdown
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 19 Jul 2007 08:47:39 +0000 (01:47 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:42 +0000 (10:04 -0700)
commitd7372cdf6938ccea23ec9fc68970702fed9ec3c8
treebd16d092edccbedf8c1fb5ad0baea0f89276ac71
parent6c961dfb7c903cfd1cd71b506863894038fd704f
ACPI: Do not prepare for hibernation in acpi_shutdown

Since we are now explicitly calling hibernation_ops->prepare() before
hibernation_ops->enter() in hibernation_platform_enter() (defined in
kernel/power/disk.c), ACPI should not call acpi_sleep_prepare(ACPI_STATE_S4)
from acpi_shutdown().

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/sleep/poweroff.c