• Guo Ren's avatar
    csky: Use va_pa_offset instead of phys_offset · 683fafeb
    Guo Ren authored
    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: default avatarGuo Ren <ren_guo@c-sky.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    683fafeb
setup.c 3.7 KB