diff options
Diffstat (limited to 'kernel/power/snapshot.c')
-rw-r--r-- | kernel/power/snapshot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c index f66e4411795b..128da11f01c2 100644 --- a/kernel/power/snapshot.c +++ b/kernel/power/snapshot.c | |||
@@ -723,19 +723,19 @@ int create_basic_memory_bitmaps(void) | |||
723 | 723 | ||
724 | BUG_ON(forbidden_pages_map || free_pages_map); | 724 | BUG_ON(forbidden_pages_map || free_pages_map); |
725 | 725 | ||
726 | bm1 = kzalloc(sizeof(struct memory_bitmap), GFP_ATOMIC); | 726 | bm1 = kzalloc(sizeof(struct memory_bitmap), GFP_KERNEL); |
727 | if (!bm1) | 727 | if (!bm1) |
728 | return -ENOMEM; | 728 | return -ENOMEM; |
729 | 729 | ||
730 | error = memory_bm_create(bm1, GFP_ATOMIC | __GFP_COLD, PG_ANY); | 730 | error = memory_bm_create(bm1, GFP_KERNEL, PG_ANY); |
731 | if (error) | 731 | if (error) |
732 | goto Free_first_object; | 732 | goto Free_first_object; |
733 | 733 | ||
734 | bm2 = kzalloc(sizeof(struct memory_bitmap), GFP_ATOMIC); | 734 | bm2 = kzalloc(sizeof(struct memory_bitmap), GFP_KERNEL); |
735 | if (!bm2) | 735 | if (!bm2) |
736 | goto Free_first_bitmap; | 736 | goto Free_first_bitmap; |
737 | 737 | ||
738 | error = memory_bm_create(bm2, GFP_ATOMIC | __GFP_COLD, PG_ANY); | 738 | error = memory_bm_create(bm2, GFP_KERNEL, PG_ANY); |
739 | if (error) | 739 | if (error) |
740 | goto Free_second_object; | 740 | goto Free_second_object; |
741 | 741 | ||