summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/vdso.h
blob: ef8206193f82f298c08dec4f34ec10c090dc2cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PARISC_VDSO_H__
#define __PARISC_VDSO_H__

#ifndef __ASSEMBLY__

#ifdef CONFIG_64BIT
#include <generated/vdso64-offsets.h>
#endif
#include <generated/vdso32-offsets.h>

#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name))
#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name))

extern struct vdso_data *vdso_data;

#endif /* __ASSEMBLY __ */

/* Default link addresses for the vDSOs */
#define VDSO_LBASE	0

#define VDSO_VERSION_STRING	LINUX_5.18

#endif /* __PARISC_VDSO_H__ */