vsyscall.h 644 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_VDSO_VSYSCALL_H
  3. #define __ASM_VDSO_VSYSCALL_H
  4. #ifndef __ASSEMBLY__
  5. #include <linux/hrtimer.h>
  6. #include <linux/timekeeper_internal.h>
  7. #include <vdso/datapage.h>
  8. #include <asm/vdso.h>
  9. /*
  10. * Update the vDSO data page to keep in sync with kernel timekeeping.
  11. */
  12. static __always_inline struct vdso_data *__s390_get_k_vdso_data(void)
  13. {
  14. return vdso_data;
  15. }
  16. #define __arch_get_k_vdso_data __s390_get_k_vdso_data
  17. /* The asm-generic header needs to be included after the definitions above */
  18. #include <asm-generic/vdso/vsyscall.h>
  19. #endif /* !__ASSEMBLY__ */
  20. #endif /* __ASM_VDSO_VSYSCALL_H */