diff options
| author | Paul Mackerras <paulus@samba.org> | 2006-08-08 03:09:11 -0400 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2006-08-08 03:09:11 -0400 |
| commit | 32bc6e095d75233e7c87cc6fa0e07942b124d194 (patch) | |
| tree | 8f83ef9a23d52d1305878b65dd98fc22b09b7f3e /include/linux/sched.h | |
| parent | 5cf13911b1e72707b6f0eb39b2d819ec6e343d76 (diff) | |
| parent | 81b73dd92b97423b8f5324a59044da478c04f4c4 (diff) | |
Merge branch 'merge'
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 6afa72e080cb..6674fc1e51bf 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -1558,6 +1558,14 @@ static inline void freeze(struct task_struct *p) | |||
| 1558 | } | 1558 | } |
| 1559 | 1559 | ||
| 1560 | /* | 1560 | /* |
| 1561 | * Sometimes we may need to cancel the previous 'freeze' request | ||
| 1562 | */ | ||
| 1563 | static inline void do_not_freeze(struct task_struct *p) | ||
| 1564 | { | ||
| 1565 | p->flags &= ~PF_FREEZE; | ||
| 1566 | } | ||
| 1567 | |||
| 1568 | /* | ||
| 1561 | * Wake up a frozen process | 1569 | * Wake up a frozen process |
| 1562 | */ | 1570 | */ |
| 1563 | static inline int thaw_process(struct task_struct *p) | 1571 | static inline int thaw_process(struct task_struct *p) |
