Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56866
b: refs/heads/master
c: 5fcc57f
h: refs/heads/master
v: v3
  • Loading branch information
Gautham R Shenoy authored and Linus Torvalds committed May 24, 2007
1 parent 7950186 commit 0e4fbc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a076e4bca2fdabb9e45d86722cc72c0944da5f94
refs/heads/master: 5fcc57f2d5d558056668159f9153bf21d2c53d16
6 changes: 4 additions & 2 deletions trunk/include/linux/freezer.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ static inline int thaw_process(struct task_struct *p)
*/
static inline void frozen_process(struct task_struct *p)
{
p->flags |= PF_FROZEN;
wmb();
if (!unlikely(p->flags & PF_NOFREEZE)) {
p->flags |= PF_FROZEN;
wmb();
}
clear_tsk_thread_flag(p, TIF_FREEZE);
}

Expand Down

0 comments on commit 0e4fbc9

Please sign in to comment.