tmp_suning_uos_patched/kernel/power
Eric W. Biederman 88d10bbaae [PATCH] suspend: cleanup calling of power off methods.
In the lead up to 2.6.13 I fixed a large number of reboot problems by
making the calling conventions consistent.  Despite checking and double
checking my work it appears I missed an obvious one.

The S4 suspend code for PM_DISK_PLATFORM was also calling device_shutdown
without setting system_state, and was not calling the appropriate
reboot_notifier.

This patch fixes the bug by replacing the call of device_suspend with
kernel_poweroff_prepare.

Various forms of this failure have been fixed and tracked for a while.

Thanks for tracking this down go to: Alexey Starikovskiy, Meelis Roos
<mroos@linux.ee>, Nigel Cunningham <ncunningham@cyclades.com>, Pierre
Ossman <drzeus-list@drzeus.cx>

History of this bug is at:
http://bugme.osdl.org/show_bug.cgi?id=4320

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-22 22:17:33 -07:00
..
console.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
disk.c [PATCH] suspend: cleanup calling of power off methods. 2005-09-22 22:17:33 -07:00
Kconfig Merge linux-2.6 with linux-acpi-2.6 2005-09-08 01:45:47 -04:00
main.c [PATCH] pm: clean up /sys/power/disk 2005-09-05 00:06:18 -07:00
Makefile [PATCH] suspend/resume SMP support 2005-06-25 16:24:32 -07:00
pm.c [PATCH] introduce and use kzalloc 2005-09-07 16:57:45 -07:00
power.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
poweroff.c [PATCH] Use kernel_power_off in sysrq-o 2005-07-26 14:35:43 -07:00
process.c [PATCH] pm: fix process freezing 2005-09-05 00:06:17 -07:00
smp.c [PATCH] Address BUG: using smp_processor_id() in preemptible [00000001] code 2005-07-27 16:25:50 -07:00
swsusp.c [PATCH] detect soft lockups 2005-09-07 16:57:17 -07:00