1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_GENERIC_VSYSCALL_H
3 #define __ASM_GENERIC_VSYSCALL_H
7 #ifndef __arch_get_k_vdso_data
8 static __always_inline struct vdso_data *__arch_get_k_vdso_data(void)
12 #endif /* __arch_get_k_vdso_data */
14 #ifndef __arch_update_vdso_data
15 static __always_inline int __arch_update_vdso_data(void)
19 #endif /* __arch_update_vdso_data */
21 #ifndef __arch_get_clock_mode
22 static __always_inline int __arch_get_clock_mode(struct timekeeper *tk)
26 #endif /* __arch_get_clock_mode */
28 #ifndef __arch_use_vsyscall
29 static __always_inline int __arch_use_vsyscall(struct vdso_data *vdata)
33 #endif /* __arch_use_vsyscall */
35 #ifndef __arch_update_vsyscall
36 static __always_inline void __arch_update_vsyscall(struct vdso_data *vdata,
37 struct timekeeper *tk)
40 #endif /* __arch_update_vsyscall */
42 #ifndef __arch_sync_vdso_data
43 static __always_inline void __arch_sync_vdso_data(struct vdso_data *vdata)
46 #endif /* __arch_sync_vdso_data */
48 #endif /* !__ASSEMBLY__ */
50 #endif /* __ASM_GENERIC_VSYSCALL_H */