From: Rafael J. Wysocki Date: Wed, 9 Nov 2005 05:34:39 +0000 (-0800) Subject: [PATCH] swsusp: reduce code duplication X-Git-Tag: v2.6.15-rc1~384 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=054bd4c18853f3a3851bd97aa90e11022a69dc42;p=pandora-kernel.git [PATCH] swsusp: reduce code duplication The changes made by this patch are necessary for the pagedir relocation simplification in the next patch.  Additionally, these changes allow us to drop check_pagedir() and make get_safe_page() be a one-line wrapper around alloc_image_page() (get_safe_page() goes to snapshot.c, because alloc_image_page() is static and it does not make sense to export it). Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed