1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_VDSO_VSYSCALL_H
3 #define __ASM_VDSO_VSYSCALL_H
5 #define __VDSO_RND_DATA_OFFSET 768
9 #include <linux/hrtimer.h>
10 #include <vdso/datapage.h>
14 VVAR_DATA_PAGE_OFFSET,
15 VVAR_TIMENS_PAGE_OFFSET,
19 static __always_inline struct vdso_data *__s390_get_k_vdso_data(void)
23 #define __arch_get_k_vdso_data __s390_get_k_vdso_data
25 static __always_inline struct vdso_rng_data *__s390_get_k_vdso_rnd_data(void)
27 return (void *)vdso_data + __VDSO_RND_DATA_OFFSET;
29 #define __arch_get_k_vdso_rng_data __s390_get_k_vdso_rnd_data
31 /* The asm-generic header needs to be included after the definitions above */
32 #include <asm-generic/vdso/vsyscall.h>
34 #endif /* !__ASSEMBLY__ */
36 #endif /* __ASM_VDSO_VSYSCALL_H */