PM / Hibernate: Move the first_sector out of swsusp_write
commit51fb352b2c586b29c7bba38178b3b5389a7fb074
authorJiri Slaby <jslaby@suse.cz>
Sat, 1 May 2010 21:53:02 +0000 (1 23:53 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 10 May 2010 21:08:18 +0000 (10 23:08 +0200)
tree4ac159659111b67c1750181bfa04e69b822fbfa8
parent8a0d613fa12e1b7f7f71ca88ed7dc2a3de95121a
PM / Hibernate: Move the first_sector out of swsusp_write

The first sector knowledge is swap-only specific. Move it into the
swap handle. This will be needed for later non-swap specific code
moving into snapshot.c.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: "Rafael J. Wysocki" <rjw@sisk.pl>
kernel/power/swap.c