]> git.baikalelectronics.ru Git - kernel.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)
commitc456f202bd0c9a06ed4fce1740b54b2f2b988ffc
tree91b8fd151fad423572a686ee94295a84754c0347
parent24cafc625844c0c988c5f999cc67cbed3c33a6bd
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