1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef __ASM_VDSO_VSYSCALL_H 3 #define __ASM_VDSO_VSYSCALL_H 4 5 #ifndef __ASSEMBLY__ 6 7 #include <linux/timekeeper_internal.h> 8 #include <vdso/datapage.h> 9 10 extern struct vdso_data *vdso_data; 11 extern struct vdso_rng_data *vdso_rng_data; 12 13 /* 14 * Update the vDSO data page to keep in sync w 15 */ 16 static __always_inline 17 struct vdso_data *__loongarch_get_k_vdso_data( 18 { 19 return vdso_data; 20 } 21 #define __arch_get_k_vdso_data __loongarch_get 22 23 static __always_inline 24 struct vdso_rng_data *__loongarch_get_k_vdso_r 25 { 26 return vdso_rng_data; 27 } 28 #define __arch_get_k_vdso_rng_data __loongarch 29 30 /* The asm-generic header needs to be included 31 #include <asm-generic/vdso/vsyscall.h> 32 33 #endif /* !__ASSEMBLY__ */ 34 35 #endif /* __ASM_VDSO_VSYSCALL_H */ 36
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.