linux/arch/powerpc
Rafael J. Wysocki c697eecebc Suspend: Introduce begin() and end() callbacks
On ACPI systems the target state set by acpi_pm_set_target() is
reset by acpi_pm_finish(), but that need not be called if the
suspend fails.  All platforms that use the .set_target() global
suspend callback are affected by analogous issues.

For this reason, we need an additional global suspend callback that
will reset the target state regardless of whether or not the suspend
is successful.  Also, it is reasonable to rename the .set_target()
callback, since it will be used for a different purpose on ACPI
systems (due to ACPI 1.0x code ordering requirements).

Introduce the global suspend callback .end() to be executed at the
end of the suspend sequence and rename the .set_target() global
suspend callback to .begin().

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-01 18:30:56 -05:00
..
boot Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
configs [POWERPC] 83xx: rework platform Kconfig 2008-01-28 13:15:24 -06:00
kernel Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
lib [POWERPC] rheap: Changes config mechanism 2007-10-16 17:09:21 -06:00
math-emu [POWERPC] Fix carry bug in 128-bit unsigned integer adding 2008-01-23 19:34:21 -06:00
mm [POWERPC] Allocate the hash table under 1G on cell 2008-01-31 12:11:09 +11:00
oprofile Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
platforms Suspend: Introduce begin() and end() callbacks 2008-02-01 18:30:56 -05:00
sysdev Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
xmon [POWERPC] Make setjmp/longjmp code usable outside of xmon 2008-01-25 22:52:50 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig Suspend: Clean up Kconfig (V2) 2008-02-01 18:30:55 -05:00
Kconfig.debug [POWERPC] 4xx: Base support for 440GX Taishan eval board 2007-12-23 13:13:33 -06:00
Makefile [POWERPC] Implement 'make bootwrapper_install' 2007-12-06 14:44:30 +11:00