diff options
| author | Pavel Machek <pavel@ucw.cz> | 2002-05-21 01:57:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-05-21 01:57:49 -0700 |
| commit | 542f96a52f55f50dae8b82e11dac096b094202f0 (patch) | |
| tree | 4b15d74e79d2d137a36f37b93b9494ddeedaeeef /kernel/context.c | |
| parent | 79998decd54d550b61538a9248dc49b8db9a01e5 (diff) | |
[PATCH] suspend-to-{RAM,disk}
Here's suspend-to-{RAM,disk} combined patch for
2.5.17. Suspend-to-disk is pretty stable and was tested in
2.4-ac. Suspend-to-RAM is little more experimental, but works for me,
and is certainly better than disk-eating version currently in kernel.
Major parts are: process stopper, S3 specific code, S4 specific
code.
Diffstat (limited to 'kernel/context.c')
| -rw-r--r-- | kernel/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/context.c b/kernel/context.c index 584e57aa2835..56bada438f61 100644 --- a/kernel/context.c +++ b/kernel/context.c @@ -72,6 +72,7 @@ static int context_thread(void *startup) daemonize(); strcpy(curtask->comm, "keventd"); + current->flags |= PF_IOTHREAD; keventd_running = 1; keventd_task = curtask; |
