parent ed14b52701e6ef5a5aaf7bdb75932d5ea5dd7387 author Rafael J. Wysocki 1131514481 -0800 committer Linus Torvalds 1131551752 -0800 [PATCH] swsusp: rework swsusp_suspend 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 Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ‚¨éôž x