vsyscall.h 454 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_VDSO_CSKY_VSYSCALL_H
  3. #define __ASM_VDSO_CSKY_VSYSCALL_H
  4. #ifndef __ASSEMBLY__
  5. #include <vdso/datapage.h>
  6. extern struct vdso_data *vdso_data;
  7. static __always_inline struct vdso_data *__csky_get_k_vdso_data(void)
  8. {
  9. return vdso_data;
  10. }
  11. #define __arch_get_k_vdso_data __csky_get_k_vdso_data
  12. #include <asm-generic/vdso/vsyscall.h>
  13. #endif /* !__ASSEMBLY__ */
  14. #endif /* __ASM_VDSO_CSKY_VSYSCALL_H */