commit | 8dbddf17824861f2298de093549e6493d9844835 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Sat Aug 27 00:56:18 2005 -0600 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sat Aug 27 10:11:40 2005 -0700 |
tree | 26d82a3ea3f1b7be05468ae7e811775851a06731 | |
parent | 6a029a90f5b93e2b50bcbbaef05ef91fa0c1d6b3 [diff] |
[PATCH] acpi_shutdown: Only prepare for power off on power_off When acpi_sleep_prepare was moved into a shutdown method we started calling it for all shutdowns. It appears this triggers some systems to power off on reboot. Avoid this by only calling acpi_sleep_prepare if we are going to power off the system. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>