diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-05-06 14:50:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 12:12:59 -0700 |
commit | 0709db6072c2e799eba1aa61bd19e0d7f38aa2cd (patch) | |
tree | e348c73adbfdcb46b05b23f36dc420ecdd62ca8a /kernel/power/swsusp.c | |
parent | 1525a2ad76f991eba9755f75c9b6d4d97abad25e (diff) |
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 <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/power/swsusp.c')
0 files changed, 0 insertions, 0 deletions