[PATCH] PM: Add pm_trace switch
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 26 Sep 2006 06:32:58 +0000 (23:32 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:49:04 +0000 (08:49 -0700)
commitc5c6ba4e08ab9c9e390a0f3a7d9a5c332f5cc6ef
tree4e13a9eebd8f3901dcc187c585369ef843d1e1a7
parent7d145aa3abf4d96c91f37c012facd5cfbb9010d1
[PATCH] PM: Add pm_trace switch

Add the pm_trace attribute in /sys/power which has to be explicitly set to
one to really enable the "PM tracing" code compiled in when CONFIG_PM_TRACE
is set (which modifies the machine's CMOS clock in unpredictable ways).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/power/interface.txt
include/linux/resume-trace.h
kernel/power/main.c