summaryrefslogtreecommitdiff
path: root/kernel/power/process.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-18 22:05:17 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-18 22:05:17 -0700
commitef29bf03ef66e8c00f2917668ffb0c15e75bce8b (patch)
treeb62f856b152fb987505b8da901989629927e7509 /kernel/power/process.c
parent8488dd95ee9f05ba43f7f41e99ed34da00c313a6 (diff)
[PATCH] Rename PF_IOTHREAD to PF_NOFREEZE
From: Nigel Cunningham <ncunningham@users.sourceforge.net> A few weeks ago, Pavel and I agreed that PF_IOTHREAD should be renamed to PF_NOFREEZE. This reflects the fact that some threads so marked aren't actually used for IO while suspending, but simply shouldn't be frozen. This patch, against 2.6.5 vanilla, applies that change. In the refrigerator calls, the actual value doesn't matter (so long as it's non-zero) and it makes more sense to use PF_FREEZE so I've used that.
Diffstat (limited to 'kernel/power/process.c')
-rw-r--r--kernel/power/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/process.c b/kernel/power/process.c
index 8225457183ed..d65d6a375af7 100644
--- a/kernel/power/process.c
+++ b/kernel/power/process.c
@@ -28,7 +28,7 @@
static inline int freezeable(struct task_struct * p)
{
if ((p == current) ||
- (p->flags & PF_IOTHREAD) ||
+ (p->flags & PF_NOFREEZE) ||
(p->state == TASK_ZOMBIE) ||
(p->state == TASK_DEAD) ||
(p->state == TASK_STOPPED))