diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-18 22:05:17 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-18 22:05:17 -0700 |
| commit | ef29bf03ef66e8c00f2917668ffb0c15e75bce8b (patch) | |
| tree | b62f856b152fb987505b8da901989629927e7509 /kernel/workqueue.c | |
| parent | 8488dd95ee9f05ba43f7f41e99ed34da00c313a6 (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/workqueue.c')
| -rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 2046c6d763fe..1f9b47613146 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -181,7 +181,7 @@ static int worker_thread(void *__cwq) struct k_sigaction sa; sigset_t blocked; - current->flags |= PF_IOTHREAD; + current->flags |= PF_NOFREEZE; set_user_nice(current, -10); |
