Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6

* 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
PM: Reintroduce dropped call to check_wakeup_irqs

+8
+8
drivers/base/syscore.c
··· 9 9 #include <linux/syscore_ops.h> 10 10 #include <linux/mutex.h> 11 11 #include <linux/module.h> 12 + #include <linux/interrupt.h> 12 13 13 14 static LIST_HEAD(syscore_ops_list); 14 15 static DEFINE_MUTEX(syscore_ops_lock); ··· 48 47 { 49 48 struct syscore_ops *ops; 50 49 int ret = 0; 50 + 51 + pr_debug("Checking wakeup interrupts\n"); 52 + 53 + /* Return error code if there are any wakeup interrupts pending. */ 54 + ret = check_wakeup_irqs(); 55 + if (ret) 56 + return ret; 51 57 52 58 WARN_ONCE(!irqs_disabled(), 53 59 "Interrupts enabled before system core suspend.\n");