summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/vdso/vsyscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/vdso/vsyscall.h')
-rw-r--r--arch/mips/include/asm/vdso/vsyscall.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/arch/mips/include/asm/vdso/vsyscall.h b/arch/mips/include/asm/vdso/vsyscall.h
index 47168aaf1eff..0f061a9babd1 100644
--- a/arch/mips/include/asm/vdso/vsyscall.h
+++ b/arch/mips/include/asm/vdso/vsyscall.h
@@ -2,26 +2,15 @@
#ifndef __ASM_VDSO_VSYSCALL_H
#define __ASM_VDSO_VSYSCALL_H
-#ifndef __ASSEMBLY__
+#include <asm/page.h>
-#include <linux/timekeeper_internal.h>
-#include <vdso/datapage.h>
-
-extern struct vdso_data *vdso_data;
+#ifndef __ASSEMBLER__
-/*
- * Update the vDSO data page to keep in sync with kernel timekeeping.
- */
-static __always_inline
-struct vdso_data *__mips_get_k_vdso_data(void)
-{
- return vdso_data;
-}
-#define __arch_get_k_vdso_data __mips_get_k_vdso_data
+#include <vdso/datapage.h>
/* The asm-generic header needs to be included after the definitions above */
#include <asm-generic/vdso/vsyscall.h>
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#endif /* __ASM_VDSO_VSYSCALL_H */