Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 
0003 #ifndef __ASM_VDSO_CSKY_VSYSCALL_H
0004 #define __ASM_VDSO_CSKY_VSYSCALL_H
0005 
0006 #ifndef __ASSEMBLY__
0007 
0008 #include <vdso/datapage.h>
0009 
0010 extern struct vdso_data *vdso_data;
0011 
0012 static __always_inline struct vdso_data *__csky_get_k_vdso_data(void)
0013 {
0014     return vdso_data;
0015 }
0016 #define __arch_get_k_vdso_data __csky_get_k_vdso_data
0017 
0018 #include <asm-generic/vdso/vsyscall.h>
0019 
0020 #endif /* !__ASSEMBLY__ */
0021 
0022 #endif /* __ASM_VDSO_CSKY_VSYSCALL_H */