summaryrefslogtreecommitdiffstats
path: root/include/linux/pm.h
diff options
context:
space:
mode:
authorLiu, Chuansheng <chuansheng.liu@intel.com>2014-02-18 10:28:44 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-20 01:30:08 +0100
commit3d2699bc179a10eee7d2aa1db50f822be01636f7 (patch)
treedf5a6eae5b59f5ed8e40eb650f23cc8d84a70f0b /include/linux/pm.h
parent6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff)
PM / sleep: Two flags for async suspend_noirq and suspend_late
The patch is a helper adding two new flags for implementing async threads for suspend_noirq and suspend_late. Signed-off-by: Chuansheng Liu <chuansheng.liu@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r--include/linux/pm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h
index 8c6583a53a0..f23a4f1c1bf 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -542,6 +542,8 @@ struct dev_pm_info {
unsigned int async_suspend:1;
bool is_prepared:1; /* Owned by the PM core */
bool is_suspended:1; /* Ditto */
+ bool is_noirq_suspended:1;
+ bool is_late_suspended:1;
bool ignore_children:1;
bool early_init:1; /* Owned by the PM core */
spinlock_t lock;