diff options
author | Tejun Heo <tj@kernel.org> | 2011-11-21 15:32:26 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-11-21 15:32:26 -0500 |
commit | 839e3407d90a810318d17c17ceb3d5928a910704 (patch) | |
tree | 9b75e8f69cadba5d33537698931cf637a22d423b /include/linux/freezer.h | |
parent | 37ad8aca94a1da2112a7c56151390914e80d1113 (diff) |
freezer: remove unused @sig_only from freeze_task()
After "freezer: make freezing() test freeze conditions in effect
instead of TIF_FREEZE", freezing() returns authoritative answer on
whether the current task should freeze or not and freeze_task()
doesn't need or use @sig_only. Remove it.
While at it, rewrite function comment for freeze_task() and rename
@sig_only to @user_only in try_to_freeze_tasks().
This patch doesn't cause any functional change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'include/linux/freezer.h')
-rw-r--r-- | include/linux/freezer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h index a0f1b3a3604f..a28842e588f4 100644 --- a/include/linux/freezer.h +++ b/include/linux/freezer.h | |||
@@ -48,7 +48,7 @@ static inline bool try_to_freeze(void) | |||
48 | return __refrigerator(false); | 48 | return __refrigerator(false); |
49 | } | 49 | } |
50 | 50 | ||
51 | extern bool freeze_task(struct task_struct *p, bool sig_only); | 51 | extern bool freeze_task(struct task_struct *p); |
52 | extern bool __set_freezable(bool with_signal); | 52 | extern bool __set_freezable(bool with_signal); |
53 | 53 | ||
54 | #ifdef CONFIG_CGROUP_FREEZER | 54 | #ifdef CONFIG_CGROUP_FREEZER |