From: Rafael J. Wysocki Date: Fri, 6 Jan 2006 08:16:37 +0000 (-0800) Subject: [PATCH] mm: add a new function (needed for swap suspend) X-Git-Tag: v2.6.16-rc1~936^2~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a291a20bd6fcfafb2109031f0760a0d3e92ecd7;p=pandora-kernel.git [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 Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed