]> err.no Git - linux-2.6/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)
commit620a4802be8ee7989b1b6684b7198ebae02af854
tree4ded5391f23ab02cddcd9d40c3017340c9af027d
parent99e3b942c62f42c8d5added63305e12372b06daf
[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