]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Hibernate: Replace unnecessary evaluation of pfn_to_page()
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 7 Dec 2008 23:52:49 +0000 (00:52 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 19 Dec 2008 09:40:35 +0000 (04:40 -0500)
commitbaa5835df10254762aedb6cb23a9c1508f969736
treea8f8b1117aa752fa2fad457e972de923eb4c1da6
parent846705deb059c352cc0e5806d5964f815b8c6d98
Hibernate: Replace unnecessary evaluation of pfn_to_page()

Replace one evaluation of pfn_to_page() in copy_data_pages() with
the value of a local variable containing the right number already.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
kernel/power/snapshot.c