[PATCH] swsusp: quieten Freezer if !CONFIG_PM_DEBUG
The freezer currently prints an '=' for every process that is frozen. This is pretty pointless, as the equals sign says nothing about which process is frozen, and makes logs look messier (especially if there were a large number of processes running). All we really need to know is that we started trying to freeze processes and what processes (if any) failed to freeze, or that we succeeded. 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>
This commit is contained in:
parent
7dfb71030f
commit
32d50f57da
|
@ -40,7 +40,6 @@ void refrigerator(void)
|
||||||
long save;
|
long save;
|
||||||
save = current->state;
|
save = current->state;
|
||||||
pr_debug("%s entered refrigerator\n", current->comm);
|
pr_debug("%s entered refrigerator\n", current->comm);
|
||||||
printk("=");
|
|
||||||
|
|
||||||
frozen_process(current);
|
frozen_process(current);
|
||||||
spin_lock_irq(¤t->sighand->siglock);
|
spin_lock_irq(¤t->sighand->siglock);
|
||||||
|
|
Loading…
Reference in New Issue