diff options
| author | Li Zefan <lizf@cn.fujitsu.com> | 2008-10-29 17:00:53 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-30 14:38:45 -0400 |
| commit | 00c2e63c31d0f431952ff2a671c5c6997dd4f8b2 (patch) | |
| tree | 2277b400fef79e55c13d7045aa63d5bed9ad5883 /include | |
| parent | 80a6a2cf3bebcf20285cf05373b9c5ec96816577 (diff) | |
freezer_cg: use thaw_process() in unfreeze_cgroup()
Don't duplicate the implementation of thaw_process().
[akpm@linux-foundation.org: make __thaw_process() static]
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Acked-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/freezer.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h index 8f225339eee9..5a361f85cfec 100644 --- a/include/linux/freezer.h +++ b/include/linux/freezer.h | |||
| @@ -44,11 +44,6 @@ static inline bool should_send_signal(struct task_struct *p) | |||
| 44 | return !(p->flags & PF_FREEZER_NOSIG); | 44 | return !(p->flags & PF_FREEZER_NOSIG); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | /* | ||
| 48 | * Wake up a frozen process | ||
| 49 | */ | ||
| 50 | extern int __thaw_process(struct task_struct *p); | ||
| 51 | |||
| 52 | /* Takes and releases task alloc lock using task_lock() */ | 47 | /* Takes and releases task alloc lock using task_lock() */ |
| 53 | extern int thaw_process(struct task_struct *p); | 48 | extern int thaw_process(struct task_struct *p); |
| 54 | 49 | ||
