diff options
| author | Rafael J. Wysocki <[email protected]> | 2007-05-09 02:33:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-09 12:30:48 -0700 |
| commit | a3d25c275d383975504dc53c25b691df59bd3c48 (patch) | |
| tree | 161a2ae12a20a630c2f639e144872db2b92eb098 /include/linux/debugobjects.h | |
| parent | d60846c4d16f9518b098b905af2b87cb6bf6dc42 (diff) | |
PM: Separate hibernation code from suspend code
[ With Johannes Berg <[email protected]> ]
Separate the hibernation (aka suspend to disk code) from the other suspend
code. In particular:
* Remove the definitions related to hibernation from include/linux/pm.h
* Introduce struct hibernation_ops and a new hibernate() function to hibernate
the system, defined in include/linux/suspend.h
* Separate suspend code in kernel/power/main.c from hibernation-related code
in kernel/power/disk.c and kernel/power/user.c (with the help of
hibernation_ops)
* Switch ACPI (the only user of pm_ops.pm_disk_mode) to hibernation_ops
Signed-off-by: Rafael J. Wysocki <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Nigel Cunningham <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions