diff options
author | 2014-02-18 10:28:44 +0800 | |
---|---|---|
committer | 2014-02-20 01:30:08 +0100 | |
commit | 3d2699bc179a10eee7d2aa1db50f822be01636f7 (patch) | |
tree | df5a6eae5b59f5ed8e40eb650f23cc8d84a70f0b /include | |
parent | Linux 3.14-rc3 (diff) | |
download | linux-3d2699bc179a10eee7d2aa1db50f822be01636f7.tar.gz linux-3d2699bc179a10eee7d2aa1db50f822be01636f7.tar.bz2 linux-3d2699bc179a10eee7d2aa1db50f822be01636f7.zip |
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')
-rw-r--r-- | include/linux/pm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 8c6583a53a06..f23a4f1c1bfb 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; |