aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/vdso.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/vdso.h')
-rw-r--r--arch/riscv/include/asm/vdso.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/vdso.h b/arch/riscv/include/asm/vdso.h
index 7a7fce63c474..8454f746bbfd 100644
--- a/arch/riscv/include/asm/vdso.h
+++ b/arch/riscv/include/asm/vdso.h
@@ -10,8 +10,10 @@
#include <linux/types.h>
+#ifndef GENERIC_TIME_VSYSCALL
struct vdso_data {
};
+#endif
/*
* The VDSO symbols are mapped into Linux so we can just use regular symbol