From: Matt Fleming Date: Tue, 6 Oct 2009 21:22:24 +0000 (+0000) Subject: sh: Obliterate the P1 area macros X-Git-Tag: v2.6.33-rc1~347^2~27^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bd642b17bea31f8361b61c16c8d154638414df4;p=pandora-kernel.git sh: Obliterate the P1 area macros Replace the use of PHYSADDR() with __pa(). PHYSADDR() is based on the idea that all addresses in P1SEG are untranslated, so we can access an address's physical page as an offset from P1SEG. This doesn't work for CONFIG_PMB/CONFIG_PMB_FIXED because pages in P1SEG and P2SEG are used for PMB mappings and so can be translated to any physical address. Likewise, replace a P1SEGADDR() use with virt_to_phys(). Signed-off-by: Matt Fleming Signed-off-by: Paul Mundt --- Reading git-diff-tree failed