xref: /linux/arch/parisc/include/asm/vdso.h (revision 5ea5880764cbb164afb17a62e76ca75dc371409d)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PARISC_VDSO_H__
3 #define __PARISC_VDSO_H__
4 
5 #ifndef __ASSEMBLER__
6 
7 #ifdef CONFIG_64BIT
8 #include <generated/vdso64-offsets.h>
9 #endif
10 #if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT)
11 #include <generated/vdso32-offsets.h>
12 #endif
13 
14 #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name))
15 #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name))
16 
17 #endif /* __ASSEMBLER__ */
18 
19 /* Default link addresses for the vDSOs */
20 #define VDSO_LBASE	0
21 
22 #define VDSO_VERSION_STRING	LINUX_6.11
23 
24 #endif /* __PARISC_VDSO_H__ */
25