Here's the take #2. I changed the definition of __pa() for 64-bits kernels to match the one suggested by Atsushi. It should be safer. It also makes virt_to_page() uses virt_to_phys() instead of __pa(). Unfortunately, no tests have been done for 64 bit kernels because of lacks of hardware. If anybody could give a try that would be great. Please consider, Franck --- arch/mips/kernel/setup.c | 55 +++++++++++++++++++++++++------------------- arch/mips/mm/init.c | 42 +++++++++++++++------------------- include/asm-mips/io.h | 2 +- include/asm-mips/page.h | 14 ++++++++--- include/asm-mips/pgtable.h | 2 +- 5 files changed, 62 insertions(+), 53 deletions(-)