Skip to content

Commit

Permalink
[PATCH] swsusp: quieten Freezer if !CONFIG_PM_DEBUG
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nigel Cunningham authored and Linus Torvalds committed Dec 7, 2006
1 parent 7dfb710 commit 32d50f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/power/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ void refrigerator(void)
long save;
save = current->state;
pr_debug("%s entered refrigerator\n", current->comm);
printk("=");

frozen_process(current);
spin_lock_irq(&current->sighand->siglock);
Expand Down

0 comments on commit 32d50f5

Please sign in to comment.