commit | 620a4802be8ee7989b1b6684b7198ebae02af854 | [log] [tgz] |
---|---|---|
author | Franck Bui-Huu <vagabon.xyz@gmail.com> | Thu Oct 19 13:20:00 2006 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Nov 30 01:14:41 2006 +0000 |
tree | 4ded5391f23ab02cddcd9d40c3017340c9af027d | |
parent | 99e3b942c62f42c8d5added63305e12372b06daf [diff] |
[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>