Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / asm-generic / vdso / vsyscall.h
blob01dafd604188fb0512d21c4ce4b027f7da54f5a0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_GENERIC_VSYSCALL_H
3 #define __ASM_GENERIC_VSYSCALL_H
5 #ifndef __ASSEMBLY__
7 #ifndef __arch_get_k_vdso_data
8 static __always_inline struct vdso_data *__arch_get_k_vdso_data(void)
10 return NULL;
12 #endif /* __arch_get_k_vdso_data */
14 #ifndef __arch_update_vsyscall
15 static __always_inline void __arch_update_vsyscall(struct vdso_data *vdata)
18 #endif /* __arch_update_vsyscall */
20 #ifndef __arch_sync_vdso_data
21 static __always_inline void __arch_sync_vdso_data(struct vdso_data *vdata)
24 #endif /* __arch_sync_vdso_data */
26 #endif /* !__ASSEMBLY__ */
28 #endif /* __ASM_GENERIC_VSYSCALL_H */