Skip to content
Commit d942f231 authored by Guo Ren's avatar Guo Ren Committed by Shuah Khan
Browse files

selftests/vDSO: Add riscv getcpu & gettimeofday test



Enable vDSO getcpu & gettimeofday test for riscv. But only riscv64
supports __vdso_gettimeofday and riscv32 is under development.

VERSION
{
        LINUX_4.15 {
        global:
                __vdso_rt_sigreturn;
                __vdso_gettimeofday;
                __vdso_clock_gettime;
                __vdso_clock_getres;
                __vdso_getcpu;
                __vdso_flush_icache;
        local: *;
        };
}

Co-developed-by: default avatarhaocheng.zy <haocheng.zy@linux.alibaba.com>
Signed-off-by: default avatarhaocheng.zy <haocheng.zy@linux.alibaba.com>
Suggested-by: default avatarMao Han <han_mao@linux.alibaba.com>
Reviewed-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
Signed-off-by: default avatarGuo Ren <guoren@kernel.org>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Elliott Hughes <enh@google.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 67c0b2b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment