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