PM: wakelock: dump active wake lock name when unable to suspend
author黄涛 <huangtao@rock-chips.com>
Sun, 31 Jul 2011 18:13:29 +0000 (02:13 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sun, 31 Jul 2011 18:13:29 +0000 (02:13 +0800)
kernel/power/process.c

index cdac5f955b857e5707ef2050667cf6975b01032d..1ac4d4582bf22cc5a7dd22d997c00c7ea1091442 100644 (file)
@@ -106,6 +106,7 @@ static int try_to_freeze_tasks(bool sig_only)
                        printk("\n");
                        printk(KERN_ERR "Freezing of %s aborted\n",
                                        sig_only ? "user space " : "tasks ");
+                       print_active_wake_locks(WAKE_LOCK_SUSPEND);
                }
                else {
                        printk("\n");