csky: Use va_pa_offset instead of phys_offset
authorGuo Ren <ren_guo@c-sky.com>
Fri, 19 Apr 2019 09:10:52 +0000 (17:10 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Mon, 22 Apr 2019 05:44:57 +0000 (13:44 +0800)
commit683fafebf93bcde9948246849348b888e185cb22
treedc612f1998fe65de5c7357f6d4d3d0c202b5fd89
parent205353fa06cc5dbfe1949de013ba905bb151c702
csky: Use va_pa_offset instead of phys_offset

The name of phys_offset is so common for global export and it may
conflict with some local name. So change phys_offset to va_pa_offset
which also used by riscv.

Also use __pa() and __va() instead of using phys_offset directly.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
arch/csky/abiv1/inc/abi/ckmmu.h
arch/csky/abiv2/inc/abi/ckmmu.h
arch/csky/include/asm/mmu_context.h
arch/csky/include/asm/page.h
arch/csky/kernel/entry.S
arch/csky/kernel/setup.c
arch/csky/mm/fault.c