diff options
| author | Rafael J. Wysocki <[email protected]> | 2006-01-06 00:16:37 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-01-06 08:33:43 -0800 |
| commit | 3a291a20bd6fcfafb2109031f0760a0d3e92ecd7 (patch) | |
| tree | 6c034471da9b2aac77b9810af640bb7a515cb299 /scripts/basic | |
| parent | ca0aec0f7a94bf9f07fefa8bfd23282d4e8ceb8a (diff) | |
[PATCH] mm: add a new function (needed for swap suspend)
This adds the function get_swap_page_of_type() allowing us to specify an index
in swap_info[] and select a swap_info_struct structure to be used for
allocating a swap page.
This function (or another one of similar functionality) will be necessary for
implementing the image-writing part of swsusp in the user space. It can also
be used for simplifying the current in-kernel implementation of the
image-writing part of swsusp.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions