summaryrefslogtreecommitdiff
path: root/kernel/power/disk.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-03-17 00:34:15 +0300
committerRafael J. Wysocki <rjw@sisk.pl>2009-03-30 23:46:54 +0400
commit900af0d973856d6feb6fc088c2d0d3fde57707d3 (patch)
tree4502d4108200fa0eb38dd5f0155b205fed166e48 /kernel/power/disk.c
parent2ed8d2b3a81bdbb0418301628ccdb008ac9f40b7 (diff)
downloadlinux-900af0d973856d6feb6fc088c2d0d3fde57707d3.tar.xz
PM: Change suspend code ordering
Change the ordering of the suspend core code so that the platform "prepare" callback is executed and the nonboot CPUs are disabled after calling device drivers' "late suspend" methods. This change will allow us to rework the PCI PM core so that the power state of devices is changed in the "late" phase of suspend (and analogously in the "early" phase of resume), which in turn will allow us to avoid the race condition where a device using shared interrupts is put into a low power state with interrupts enabled and then an interrupt (for another device) comes in and confuses its driver. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/power/disk.c')
0 files changed, 0 insertions, 0 deletions