kernel_optimize_test/kernel/power
Johannes Berg ab3bfca7ab remove software_suspend()
Remove software_suspend() and all its users since
pm_suspend(PM_SUSPEND_DISK) should be equivalent and there's no point in
having two interfaces for the same thing.

The patch also changes the valid_state function to return 0 (false) for
PM_SUSPEND_DISK when SOFTWARE_SUSPEND is not configured instead of
accepting it and having the whole thing fail later.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:12:59 -07:00
..
console.c [PATCH] swsusp: fix suspend when console is in VT_AUTO+KD_GRAPHICS mode 2007-03-16 19:25:05 -07:00
disk.c swsusp: use GFP_KERNEL for creating basic data structures 2007-05-07 12:12:59 -07:00
Kconfig [PATCH] kconfig: Update swsusp description 2007-03-06 09:30:26 -08:00
main.c remove software_suspend() 2007-05-07 12:12:59 -07:00
Makefile [PATCH] Disable CPU hotplug during suspend 2006-09-26 08:48:59 -07:00
pm.c [PATCH] remove kernel/power/pm.c:pm_unregister_all() 2006-07-12 16:09:08 -07:00
power.h swsusp: use rbtree for tracking allocated swap 2007-05-07 12:12:59 -07:00
poweroff.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
process.c fix refrigerator() vs thaw_process() race 2007-05-07 12:12:58 -07:00
snapshot.c swsusp: use GFP_KERNEL for creating basic data structures 2007-05-07 12:12:59 -07:00
swap.c swsusp: use rbtree for tracking allocated swap 2007-05-07 12:12:59 -07:00
swsusp.c swsusp: use rbtree for tracking allocated swap 2007-05-07 12:12:59 -07:00
user.c swsusp: use rbtree for tracking allocated swap 2007-05-07 12:12:59 -07:00