summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorZhonghui Fu <zhonghui.fu@linux.intel.com>2015-03-18 15:54:27 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-03-18 15:54:27 +0100
commit431d452af13720463dda498999b2e9a08729c03a (patch)
tree581e00b8b20d6fbc60df1d0d0c4390141abe1f4f /kernel
parent1d4a9c17d4d204a159139361e8d4db7f9f267879 (diff)
downloadop-kernel-dev-431d452af13720463dda498999b2e9a08729c03a.zip
op-kernel-dev-431d452af13720463dda498999b2e9a08729c03a.tar.gz
PM / sleep: add pm-trace support for suspending phase
Occasionally, the system can't come back up after suspend/resume due to problems of device suspending phase. This patch make PM_TRACE infrastructure cover device suspending phase of suspend/resume process, and the information in RTC can tell developers which device suspending function make system hang. Signed-off-by: Zhonghui Fu <zhonghui.fu@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c
index 9a59d04..86e8157 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -11,7 +11,7 @@
#include <linux/export.h>
#include <linux/kobject.h>
#include <linux/string.h>
-#include <linux/resume-trace.h>
+#include <linux/pm-trace.h>
#include <linux/workqueue.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
OpenPOWER on IntegriCloud