aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2021-01-02 13:24:34 +0000
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-01-12 20:34:44 -0800
commit0aa2ec8a475fb505fd98d93bbcf4e03beeeebcb6 (patch)
tree523586ca0fd6340da3a186f63b2cb0186dce762d /arch/riscv/include/asm
parent80709af7325d179b433817f421c85449f2454046 (diff)
downloadlinux-0aa2ec8a475fb505fd98d93bbcf4e03beeeebcb6.tar.gz
riscv: Fixup CONFIG_GENERIC_TIME_VSYSCALL
The patch fix commit: ad5d112 ("riscv: use vDSO common flow to reduce the latency of the time-related functions"). The GENERIC_TIME_VSYSCALL should be CONFIG_GENERIC_TIME_VSYSCALL or vgettimeofday won't work. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Reviewed-by: Pekka Enberg <penberg@kernel.org> Fixes: ad5d1122b82f ("riscv: use vDSO common flow to reduce the latency of the time-related functions") Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/include/asm')
-rw-r--r--arch/riscv/include/asm/vdso.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/vdso.h b/arch/riscv/include/asm/vdso.h
index 8454f746bbfd..1453a2f563bc 100644
--- a/arch/riscv/include/asm/vdso.h
+++ b/arch/riscv/include/asm/vdso.h
@@ -10,7 +10,7 @@
#include <linux/types.h>
-#ifndef GENERIC_TIME_VSYSCALL
+#ifndef CONFIG_GENERIC_TIME_VSYSCALL
struct vdso_data {
};
#endif