vsyscall.h 675 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_GENERIC_VSYSCALL_H
  3. #define __ASM_GENERIC_VSYSCALL_H
  4. #ifndef __ASSEMBLY__
  5. #ifndef __arch_get_k_vdso_data
  6. static __always_inline struct vdso_data *__arch_get_k_vdso_data(void)
  7. {
  8. return NULL;
  9. }
  10. #endif /* __arch_get_k_vdso_data */
  11. #ifndef __arch_update_vsyscall
  12. static __always_inline void __arch_update_vsyscall(struct vdso_data *vdata,
  13. struct timekeeper *tk)
  14. {
  15. }
  16. #endif /* __arch_update_vsyscall */
  17. #ifndef __arch_sync_vdso_data
  18. static __always_inline void __arch_sync_vdso_data(struct vdso_data *vdata)
  19. {
  20. }
  21. #endif /* __arch_sync_vdso_data */
  22. #endif /* !__ASSEMBLY__ */
  23. #endif /* __ASM_GENERIC_VSYSCALL_H */