commit | 6c961dfb7c903cfd1cd71b506863894038fd704f | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Thu Jul 19 01:47:38 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Thu Jul 19 10:04:42 2007 -0700 |
tree | 32890d6ef2cf735243d804778a5b62951aed4ef5 | |
parent | ccd4b65aef4be2278543fde5b999e55a4d694fd8 [diff] |
PM: Reduce code duplication between main.c and user.c The SNAPSHOT_S2RAM ioctl code is outdated and it should not duplicate the suspend code in kernel/power/main.c. Fix that. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: Nigel Cunningham <nigel@nigel.suspend2.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>