summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2011-01-25 20:50:07 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-01-25 20:50:07 +0100
commitc3810c88788d505d4ffd786addd111b745e42161 (patch)
treecc70c4e1ec62adb4f51cf7e1f45ed296a0475f04 /net/key
parentc723fdab8aa728dc2bf0da6a0de8bb9c3f588d84 (diff)
downloadtalos-obmc-linux-c3810c88788d505d4ffd786addd111b745e42161.tar.gz
talos-obmc-linux-c3810c88788d505d4ffd786addd111b745e42161.zip
PM / Runtime: Don't enable interrupts while running in_interrupt
This patch (as1445) fixes a bug in the runtime PM core left over from the addition of the no_callbacks flag. If this flag is set then it is possible for rpm_suspend() to be called in_interrupt, so when releasing spinlocks it's important not to re-enable interrupts. To avoid an unnecessary save-and-restore of the interrupt flag, the patch also inlines a pm_request_idle() call. This fixes Bugzilla #27482. (The offending code was added in 2.6.37, so it's not necessary to apply this to any earlier stable kernels.) Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: tim blechmann <tim@klingt.org> CC: <stable@kernel.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud