summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-06-12 01:11:17 +0400
committerRafael J. Wysocki <rjw@sisk.pl>2009-06-12 23:32:32 +0400
commitfe419535d82724314bbf1244a0e740e4ea1bd3ae (patch)
treeceefd93df91b6325a99d481e79411dc310e3d27e /samples
parentc6f37f12197ac3bd2e5a35f2f0e195ae63d437de (diff)
downloadlinux-fe419535d82724314bbf1244a0e740e4ea1bd3ae.tar.xz
PM/Hibernate: Move memory shrinking to snapshot.c (rev. 2)
A future patch is going to modify the memory shrinking code so that it will make memory allocations to free memory instead of using an artificial memory shrinking mechanism for that. For this purpose it is convenient to move swsusp_shrink_memory() from kernel/power/swsusp.c to kernel/power/snapshot.c, because the new memory-shrinking code is going to use things that are local to kernel/power/snapshot.c . [rev. 2: Make some functions static and remove their headers from kernel/power/power.h] Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Acked-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions