From: Rafael J. Wysocki Date: Mon, 16 Mar 2009 21:34:26 +0000 (+0100) Subject: PM: Change hibernation code ordering X-Git-Tag: v2.6.30-rc1~609^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aecd6718939eb3c4145b248369b65f7483a8a02;p=pandora-kernel.git PM: Change hibernation code ordering Change the ordering of the hibernation core code so that the platform "prepare" callbacks are executed and the nonboot CPUs are disabled after calling device drivers' "late suspend" methods. This change (along with the previous analogous change of the suspend core code) 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 Acked-by: Ingo Molnar --- Reading git-diff-tree failed