diff --git a/[refs] b/[refs] index ed26a51a9508..07bee728d969 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5eb6f9ad96967be4e0da55521a253e11b534bd3f +refs/heads/master: 160cb5a97daef0cb894685d84c9d4700bb7cccb4 diff --git a/trunk/kernel/power/snapshot.c b/trunk/kernel/power/snapshot.c index 1cf88900ec4f..6a768e537001 100644 --- a/trunk/kernel/power/snapshot.c +++ b/trunk/kernel/power/snapshot.c @@ -812,7 +812,8 @@ unsigned int snapshot_additional_pages(struct zone *zone) unsigned int res; res = DIV_ROUND_UP(zone->spanned_pages, BM_BITS_PER_BLOCK); - res += DIV_ROUND_UP(res * sizeof(struct bm_block), PAGE_SIZE); + res += DIV_ROUND_UP(res * sizeof(struct bm_block), + LINKED_PAGE_DATA_SIZE); return 2 * res; }