at v6.19 22 lines 562 B view raw
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#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#endif /* __ASSEMBLER__ */ 16 17/* Default link addresses for the vDSOs */ 18#define VDSO_LBASE 0 19 20#define VDSO_VERSION_STRING LINUX_6.11 21 22#endif /* __PARISC_VDSO_H__ */