]> git.karo-electronics.de Git - linux-beck.git/commit
PM / Hibernate: Correct additional pages number calculation
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 19 Jan 2012 22:23:10 +0000 (23:23 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 19 Jan 2012 22:23:10 +0000 (23:23 +0100)
commit160cb5a97daef0cb894685d84c9d4700bb7cccb4
tree91b8fd151fad423572a686ee94295a84754c0347
parent5eb6f9ad96967be4e0da55521a253e11b534bd3f
PM / Hibernate: Correct additional pages number calculation

The struct bm_block is allocated by chain_alloc(),
so it'd better counting it in LINKED_PAGE_DATA_SIZE.

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/snapshot.c