1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __PARISC_VDSO_H__ 3 #define __PARISC_VDSO_H__ 4 5 #ifndef __ASSEMBLY__ 6 7 #ifdef CONFIG_64BIT 8 #include <generated/vdso64-offsets.h> 9 #endif 10 #include <generated/vdso32-offsets.h> 11 12 #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) 13 #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) 14 15 extern struct vdso_data *vdso_data; 16 17 #endif /* __ASSEMBLY __ */ 18 19 /* Default link addresses for the vDSOs */ 20 #define VDSO_LBASE 0 21 22 #define VDSO_VERSION_STRING LINUX_5.18 23 24 #endif /* __PARISC_VDSO_H__ */ 25