]> git.hungrycats.org Git - linux/commit
[power] Further swsusp cleanups.
authorPatrick Mochel <mochel@osdl.org>
Tue, 19 Aug 2003 15:39:03 +0000 (08:39 -0700)
committerPatrick Mochel <mochel@osdl.org>
Tue, 19 Aug 2003 15:39:03 +0000 (08:39 -0700)
commit72a4a1790e1b2ae9c6f450144e3c733ae303ad23
treef45396af64adecff345a3dbfec8d85e33c9ba7af
parentf2a93dbd71db549d43e7bf9283918a83a5f5071d
[power] Further swsusp cleanups.

- Remove drivers_resume() and call from do_magic_resume2(). Handled by core.
- When bringing devices back to life, call device_pm_resume()
- Make sure we report the error from write_suspend_image()
- Remove suspend_power_down() and call to it. Handled by PM core.
- Move swap file resetting and freeing of pagedir to swsusp_free()
- Remove extraneous in_atomic() checks.
- Mark all resume functions __init.
- Move resume_suspend_image() inside swsusp_read() and cleanup.
- Make do_magic() report error.
include/asm-i386/suspend.h
include/linux/suspend.h
kernel/power/console.c
kernel/power/swsusp.c