mirror of https://gitee.com/openkylin/linux.git
0fbeb5a45d
This patch makes only the functions in swsusp.c call functions in snapshot.c and not both ways. It also moves the check for available swap out of swsusp_suspend() which is necessary for separating the swap-handling functions in swsusp from the core code. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
console.c | ||
disk.c | ||
main.c | ||
pm.c | ||
power.h | ||
poweroff.c | ||
process.c | ||
smp.c | ||
snapshot.c | ||
swsusp.c |