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

From: Pavel Machek
Date: Sat Aug 27 2005 - 14:31:57 EST


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 correctly set at this point? There are
quite a few ways that lead to this...
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/