diff options
| author | Shiju Mathew <shijum@codeaurora.org> | 2014-12-30 14:59:23 -0500 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:08:26 -0700 |
| commit | 14b0886b043fab90050f26bee9ea0ead073f1f2b (patch) | |
| tree | f12661ca53feb6b0d253569515480cbb7202f6aa /include/linux | |
| parent | 6a0a9b4bbfa90444635dd7fc6cab19fa96b9155b (diff) | |
thermal-core: Add separate threads for sysfs notify
Add separate threads for sysfs notify. This is required
so that any thermal trip is not blocked while handling
sysfs notify.
Change-Id: Ifee206c29fd1b3c226a342b7f048250d5062397e
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
[imaund@codeaurora.org: Resolved context conflicts and updated a call
of INIT_COMPLETION to reinit_completion]
Signed-off-by: Ian Maund <imaund@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/thermal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index af10c703601b..34016d986815 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -173,6 +173,8 @@ struct sensor_info { struct list_head threshold_list; struct mutex lock; struct work_struct work; + struct task_struct *sysfs_notify_thread; + struct completion sysfs_notify_complete; }; /** |
