diff options
author | Pavel Machek <pavel@ucw.cz> | 2006-03-23 06:00:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 10:38:07 -0500 |
commit | 543cc27d09643640cbc34189c03a40beb8227aef (patch) | |
tree | 034b4141ed5ac76b220d55c738a0eda668c1a490 /kernel/power/process.c | |
parent | 74c7e2efbe37378026f00ad9e7253796d7b2fc99 (diff) |
[PATCH] swsusp: documentation updates
Update suspend-to-RAM documentation with new machines, and makes message
when processes can't be stopped little clearer. (In one case, waiting
longer actually did help).
From: "Rafael J. Wysocki" <rjw@sisk.pl>
Warn in the documentation that data may be lost if there are some
filesystems mounted from USB devices before suspend.
[Thanks to Alan Stern for providing the answer to the question in the
Q:-A: part.]
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/power/process.c')
-rw-r--r-- | kernel/power/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/process.c b/kernel/power/process.c index 28de118f7a0b..02a1b3a9fa90 100644 --- a/kernel/power/process.c +++ b/kernel/power/process.c | |||
@@ -83,7 +83,7 @@ int freeze_processes(void) | |||
83 | yield(); /* Yield is okay here */ | 83 | yield(); /* Yield is okay here */ |
84 | if (todo && time_after(jiffies, start_time + TIMEOUT)) { | 84 | if (todo && time_after(jiffies, start_time + TIMEOUT)) { |
85 | printk( "\n" ); | 85 | printk( "\n" ); |
86 | printk(KERN_ERR " stopping tasks failed (%d tasks remaining)\n", todo ); | 86 | printk(KERN_ERR " stopping tasks timed out (%d tasks remaining)\n", todo ); |
87 | break; | 87 | break; |
88 | } | 88 | } |
89 | } while(todo); | 89 | } while(todo); |