diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 9 |
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 | */ | ||
1562 | static 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 | */ |
1563 | static inline int thaw_process(struct task_struct *p) | 1570 | static inline int thaw_process(struct task_struct *p) |