OpenCloudOS-Kernel/kernel/power
Rafael J. Wysocki 7bf2368742 [PATCH] swsusp: Do not fail if resume device is not set
In the kernels later than 2.6.19 there is a regression that makes swsusp
fail if the resume device is not explicitly specified.

It can be fixed by adding an additional parameter to
mm/swapfile.c:swap_type_of() allowing us to pass the (struct block_device
*) corresponding to the first available swap back to the caller.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2007-01-05 23:55:22 -08:00
..
Kconfig Driver core: deprecate PM_LEGACY, default it to N 2006-12-13 15:38:46 -08:00
Makefile [PATCH] Disable CPU hotplug during suspend 2006-09-26 08:48:59 -07:00
console.c [PATCH] Fix build failure in recent pm_prepare_* changes. 2006-02-07 16:12:33 -08:00
disk.c Pull bugfix into test branch 2006-12-16 01:01:18 -05:00
main.c Pull bugfix into test branch 2006-12-16 01:01:18 -05:00
pm.c [PATCH] remove kernel/power/pm.c:pm_unregister_all() 2006-07-12 16:09:08 -07:00
power.h [PATCH] convert pm_sem to a mutex 2006-12-07 08:39:28 -08:00
poweroff.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
process.c [PATCH] PM: Fix SMP races in the freezer 2006-12-13 09:05:49 -08:00
snapshot.c [PATCH] swsusp: Fix labels 2006-12-07 08:39:28 -08:00
swap.c [PATCH] swsusp: Do not fail if resume device is not set 2007-01-05 23:55:22 -08:00
swsusp.c [PATCH] swsusp: Fix labels 2006-12-07 08:39:28 -08:00
user.c [PATCH] swsusp: Do not fail if resume device is not set 2007-01-05 23:55:22 -08:00