Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_VDSO_VSYSCALL_H
0003 #define __ASM_VDSO_VSYSCALL_H
0004 
0005 #ifndef __ASSEMBLY__
0006 
0007 #include <linux/hrtimer.h>
0008 #include <linux/timekeeper_internal.h>
0009 #include <vdso/datapage.h>
0010 #include <asm/vdso.h>
0011 /*
0012  * Update the vDSO data page to keep in sync with kernel timekeeping.
0013  */
0014 
0015 static __always_inline struct vdso_data *__s390_get_k_vdso_data(void)
0016 {
0017     return vdso_data;
0018 }
0019 #define __arch_get_k_vdso_data __s390_get_k_vdso_data
0020 
0021 /* The asm-generic header needs to be included after the definitions above */
0022 #include <asm-generic/vdso/vsyscall.h>
0023 
0024 #endif /* !__ASSEMBLY__ */
0025 
0026 #endif /* __ASM_VDSO_VSYSCALL_H */