summaryrefslogtreecommitdiffstats
path: root/kernel/sched_idletask.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2011-08-19 23:49:48 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2011-08-19 23:49:48 +0200
commit5b1b0b812a7b1a5b968c5d06d90d1cb88621b941 (patch)
treedd57943592e4152147d1a5667b082e5f30faaf83 /kernel/sched_idletask.c
parentPM / Runtime: Add might_sleep() to runtime PM functions (diff)
downloadlinux-5b1b0b812a7b1a5b968c5d06d90d1cb88621b941.tar.xz
linux-5b1b0b812a7b1a5b968c5d06d90d1cb88621b941.zip
PM / Runtime: Add macro to test for runtime PM events
This patch (as1482) adds a macro for testing whether or not a pm_message value represents an autosuspend or autoresume (i.e., a runtime PM) event. Encapsulating this notion seems preferable to open-coding the test all over the place. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/sched_idletask.c')
0 files changed, 0 insertions, 0 deletions