Re: [PATCH] [ACPI] acpi_shutdown: Only prepare for power off on power_off

2005-08-27 Thread Pavel Machek
Hi! > >> 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. > > > > Are you sure that

Re: [PATCH] [ACPI] acpi_shutdown: Only prepare for power off on power_off

2005-08-27 Thread Eric W. Biederman
Pavel Machek <[EMAIL PROTECTED]> writes: > Hi! > >> 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

Re: [PATCH] [ACPI] acpi_shutdown: Only prepare for power off on power_off

2005-08-27 Thread Pavel Machek
Hi! > 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. Are you sure that system_state is co

[PATCH] [ACPI] acpi_shutdown: Only prepare for power off on power_off

2005-08-26 Thread Eric W. Biederman
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 <[EMAIL PROTECT