]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Thu, 19 Oct 2006 11:20:00 +0000 (13:20 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Nov 2006 01:14:41 +0000 (01:14 +0000)
commitab255968498c063b749b9121e9189a0d7568322f
tree4ded5391f23ab02cddcd9d40c3017340c9af027d
parent5934493c048c64594b5143a834ac1f8718018e35
[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