[PATCH] swsusp: clean up whitespace in freezer output
Minor whitespace and formatting modifications for the freezer. Signed-off-by: Nigel Cunningham <nigel@suspend2.net> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>hifive-unleashed-5.1
parent
32d50f57da
commit
14b5b7cfaa
|
@ -86,7 +86,7 @@ int freeze_processes(void)
|
|||
unsigned long start_time;
|
||||
struct task_struct *g, *p;
|
||||
|
||||
printk( "Stopping tasks: " );
|
||||
printk("Stopping tasks... ");
|
||||
start_time = jiffies;
|
||||
user_frozen = 0;
|
||||
do {
|
||||
|
@ -135,7 +135,7 @@ int freeze_processes(void)
|
|||
*/
|
||||
if (todo) {
|
||||
printk("\n");
|
||||
printk(KERN_ERR " stopping tasks timed out "
|
||||
printk(KERN_ERR "Stopping tasks timed out "
|
||||
"after %d seconds (%d tasks remaining):\n",
|
||||
TIMEOUT / HZ, todo);
|
||||
read_lock(&tasklist_lock);
|
||||
|
@ -148,7 +148,7 @@ int freeze_processes(void)
|
|||
return todo;
|
||||
}
|
||||
|
||||
printk( "|\n" );
|
||||
printk("done.\n");
|
||||
BUG_ON(in_atomic());
|
||||
return 0;
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ void thaw_processes(void)
|
|||
|
||||
read_unlock(&tasklist_lock);
|
||||
schedule();
|
||||
printk( " done\n" );
|
||||
printk("done.\n");
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(refrigerator);
|
||||
|
|
Loading…
Reference in New Issue