[MIPS] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels
commit1b679f725038a1cd8a2bc58152a9ec9b1da4918d
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Thu, 19 Oct 2006 11:20:00 +0000 (19 13:20 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Nov 2006 00:14:39 +0000 (30 00:14 +0000)
treea3fd9aaa8053e6edd69e36d8e577514b1d5a7018
parent719cb1cfffbc6b9f74aeaa8c667c76b72ba15521
[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 <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/page.h