Freezer: Fix s2disk resume from initrd
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 21 Nov 2007 01:50:17 +0000 (02:50 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 21 Nov 2007 03:22:42 +0000 (22:22 -0500)
commit8baabde66c60a84781c718c28fe283ed411a7bd0
tree0bd71f2f6277aeffafb223301dec3f483ebb4bb9
parent2ffbb8377c7a0713baf6644e285adc27a5654582
Freezer: Fix s2disk resume from initrd

Add appropriate freezer annotations to handle_initrd(), so that it's possible
to resume from disk from an initrd.

http://bugzilla.kernel.org/show_bug.cgi?id=9345

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Nigel Cunningham <nigel@nigel.suspend2.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Chris Friedhoff <chris@friedhoff.org>
Signed-off-by: Len Brown <len.brown@intel.com>
init/do_mounts_initrd.c