vsyscall.h 626 B

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