2021-12-08 11:06:52 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __PARISC_VDSO_H__
|
|
|
|
#define __PARISC_VDSO_H__
|
|
|
|
|
2025-03-14 08:09:56 +01:00
|
|
|
#ifndef __ASSEMBLER__
|
2021-12-08 11:06:52 +01:00
|
|
|
|
|
|
|
#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))
|
|
|
|
|
2025-03-14 08:09:56 +01:00
|
|
|
#endif /* __ASSEMBLER__ */
|
2021-12-08 11:06:52 +01:00
|
|
|
|
|
|
|
/* Default link addresses for the vDSOs */
|
|
|
|
#define VDSO_LBASE 0
|
|
|
|
|
2024-06-19 01:42:28 +02:00
|
|
|
#define VDSO_VERSION_STRING LINUX_6.11
|
2021-12-08 11:06:52 +01:00
|
|
|
|
|
|
|
#endif /* __PARISC_VDSO_H__ */
|