From: Franck Bui-Huu Date: Thu, 19 Oct 2006 11:20:00 +0000 (+0200) Subject: [MIPS] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels X-Git-Tag: v2.6.20-rc1~34^2~40^2~469^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=620a4802be8ee7989b1b6684b7198ebae02af854;p=pandora-kernel.git [MIPS] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels During early boot mem init, some configs couldn't use __pa() to convert virtual into physical addresses. Specially for 64 bit kernel cases when CONFIG_BUILD_ELF64=n. This patch make __pa() work for _all_ configs and thus make CPHYSADDR() useless. Signed-off-by: Franck Bui-Huu Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed