summaryrefslogtreecommitdiff
path: root/fs/jffs2/symlink.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-01-07 23:04:17 (GMT)
committerLen Brown <len.brown@intel.com>2008-02-01 23:30:56 (GMT)
commitc697eecebc6cfc0b393afea3c4ff1a5041526ad1 (patch)
tree36b0cb4e667792212c2b5d05ac212662555d1682 /fs/jffs2/symlink.c
parent7671b8ae5381a504d4c4ef8dd9c47128c2c3fd7e (diff)
downloadlinux-fsl-qoriq-c697eecebc6cfc0b393afea3c4ff1a5041526ad1.tar.xz
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>
Diffstat (limited to 'fs/jffs2/symlink.c')
0 files changed, 0 insertions, 0 deletions