From: Vivek Goyal Date: Wed, 2 May 2007 17:27:07 +0000 (+0200) Subject: [PATCH] x86: Move swsusp __pa() dependent code to arch portion X-Git-Tag: v2.6.22-rc1~1011^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c3df6aaa6a51071fc135273d1a2515d019099f;p=pandora-kernel.git [PATCH] x86: Move swsusp __pa() dependent code to arch portion o __pa() should be used only on kernel linearly mapped virtual addresses and not on kernel text and data addresses. o Hibernation code needs to determine the physical address associated with kernel symbol to mark a section boundary which contains pages which don't have to be saved and restored during hibernate/resume operation. o Move this piece of code in arch dependent section. So that architectures which don't have kernel text/data mapped into kernel linearly mapped region can come up with their own ways of determining physical addresses associated with a kernel text. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen --- Reading git-diff-tree failed