aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-09-05 17:20:21 -0400
committerDave Jones <davej@redhat.com>2006-09-05 17:20:21 -0400
commit115b384cf87249d76adb0b21aca11ee22128927d (patch)
treef39a2a54863e9d82d1196906f92c82ab5991c6af /include/linux/sched.h
parent8eb7925f93af75e66a240d148efdec212f95bcb7 (diff)
parentc336923b668fdcf0312efbec3b44895d713f4d81 (diff)
Merge ../linus
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 6afa72e080cb..34ed0d99b1bd 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -994,7 +994,6 @@ struct task_struct {
994 */ 994 */
995 struct pipe_inode_info *splice_pipe; 995 struct pipe_inode_info *splice_pipe;
996#ifdef CONFIG_TASK_DELAY_ACCT 996#ifdef CONFIG_TASK_DELAY_ACCT
997 spinlock_t delays_lock;
998 struct task_delay_info *delays; 997 struct task_delay_info *delays;
999#endif 998#endif
1000}; 999};
@@ -1558,6 +1557,14 @@ static inline void freeze(struct task_struct *p)
1558} 1557}
1559 1558
1560/* 1559/*
1560 * Sometimes we may need to cancel the previous 'freeze' request
1561 */
1562static inline void do_not_freeze(struct task_struct *p)
1563{
1564 p->flags &= ~PF_FREEZE;
1565}
1566
1567/*
1561 * Wake up a frozen process 1568 * Wake up a frozen process
1562 */ 1569 */
1563static inline int thaw_process(struct task_struct *p) 1570static inline int thaw_process(struct task_struct *p)