PM / Sleep: Separate printing suspend times from initcall_debug
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 20 Jun 2012 22:19:33 +0000 (00:19 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 1 Jul 2012 11:31:23 +0000 (13:31 +0200)
commitb2df1d4f8b95d9d1e3f064cef02fc5c5116b05cf
tree6e891ad6ad748ea737ab5774983f90d9be720446
parent4b7760ba0dd3319f66886ab2335a0fbecdbc808a
PM / Sleep: Separate printing suspend times from initcall_debug

Change the behavior of the newly introduced
/sys/power/pm_print_times attribute so that its initial value
depends on initcall_debug, but setting it to 0 will cause device
suspend/resume times not to be printed, even if initcall_debug has
been set.  This way, the people who use initcall_debug for reasons
other than PM debugging will be able to switch the suspend/resume
times printing off, if need be.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/power/main.c
drivers/base/power/power.h
include/linux/suspend.h
kernel/power/Kconfig
kernel/power/main.c
This page took 0.028998 seconds and 5 git commands to generate.