]> git.hungrycats.org Git - linux/commit
[power] Add initial support for suspend-to-disk.
authorPatrick Mochel <mochel@osdl.org>
Tue, 19 Aug 2003 09:43:08 +0000 (02:43 -0700)
committerPatrick Mochel <mochel@osdl.org>
Tue, 19 Aug 2003 09:43:08 +0000 (02:43 -0700)
commitda94d1340a4848814bedaadbf9b9c60c920a95c5
treeb6938f3b38ad7516672da2b61f9c1b9952c5f151
parent313ba573f1553e0128d7765f6b8cf919862db0bb
[power] Add initial support for suspend-to-disk.

- Add prototypes for split-up swsusp functions that can be called from PM
  core:

  save()
  write()
  read()
  restore()
  free()

- Base PM core algorithm on existence of these functions, and allow
  graceful failure at each step.

- Add pm_resume() function to be called on init to attempt to read swsusp
  image.

- Add debugging.

- Make sure we can handle all modes for suspend-to-disk.

- Add empty split-up functions to swsusp.
kernel/power/main.c
kernel/power/power.h
kernel/power/swsusp.c