瀏覽代碼

[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>
Nigel Cunningham 18 年之前
父節點
當前提交
32d50f57da
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      kernel/power/process.c

+ 0 - 1
kernel/power/process.c

@@ -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(&current->sighand->siglock);
 	spin_lock_irq(&current->sighand->siglock);