From: Rafael J. Wysocki Date: Sun, 6 May 2007 21:50:45 +0000 (-0700) Subject: swsusp: use GFP_KERNEL for creating basic data structures X-Git-Tag: v2.6.22-rc1~901 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0709db6072c2e799eba1aa61bd19e0d7f38aa2cd;p=pandora-kernel.git swsusp: use GFP_KERNEL for creating basic data structures Make swsusp call create_basic_memory_bitmaps() before processes are frozen, so that GFP_KERNEL allocations can be made in it. Additionally, ensure that the swsusp's userland interface won't be used while either pm_suspend_disk() or software_resume() is being executed. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed