From: David S. Miller Date: Thu, 14 Jan 2010 11:14:53 +0000 (-0800) Subject: sparc32: Fix page_to_phys(). X-Git-Tag: v2.6.33-rc6~28^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8654164f54bd02787ae91db8526dcae8e7e34eeb;p=pandora-kernel.git sparc32: Fix page_to_phys(). It doesn't account for phys_base like it should, fix by using page_to_pfn(). While we're here, make virt_to_page() use pfn_to_page() as well, so we consistently use the asm/memory-model.h abstractions instead of open-coding memory model assumptions. Tested-by: Kristoffer Glembo Signed-off-by: David S. Miller --- Reading git-diff-tree failed