WSL2-Linux-Kernel/drivers/acpi
Eric W. Biederman 8dbddf1782 [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>
2005-08-27 10:11:40 -07:00
..
dispatcher [ACPI] delete Warning: Encountered executable code at module level, [AE_NOT_CONFIGURED] 2005-08-03 23:22:10 -04:00
events
executer
hardware
namespace
parser
resources
sleep [PATCH] acpi_shutdown: Only prepare for power off on power_off 2005-08-27 10:11:40 -07:00
tables
utilities
Kconfig /home/lenb/src/to-linus branch 'acpi-2.6.12' 2005-08-03 18:15:15 -04:00
Makefile
ac.c
acpi_memhotplug.c
asus_acpi.c
battery.c
blacklist.c
bus.c
button.c [ACPI] restore /proc/acpi/button/ (ala 2.6.12) 2005-08-03 17:57:24 -04:00
container.c
debug.c
ec.c [ACPI] revert Embedded Controller to polling-mode by default (ala 2.6.12) 2005-08-03 17:40:43 -04:00
event.c
fan.c
glue.c
hotkey.c [ACPI] CONFIG_ACPI_HOTKEY is now "n" by default 2005-08-03 18:11:22 -04:00
ibm_acpi.c
motherboard.c Revert PCIBIOS_MIN_IO changes for 2.6.13 2005-08-14 18:21:30 -07:00
numa.c
osl.c Merge ../to-linus-stable/ 2005-08-15 15:49:00 -04:00
pci_bind.c
pci_irq.c /home/lenb/src/to-linus branch 'acpi-2.6.12' 2005-07-29 23:31:17 -04:00
pci_link.c [ACPI] S3 resume: avoid kmalloc() might_sleep oops symptom 2005-08-03 23:50:36 -04:00
pci_root.c
power.c
processor_core.c
processor_idle.c /home/lenb/src/to-linus branch 'acpi-2.6.12' 2005-08-03 18:15:15 -04:00
processor_perflib.c
processor_thermal.c
processor_throttling.c
scan.c
system.c
tables.c
thermal.c
toshiba_acpi.c
utils.c
video.c