/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __S390_VDSO_SYMBOLS_H__ #define __S390_VDSO_SYMBOLS_H__ #include #ifdef CONFIG_COMPAT #include #endif #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) #ifdef CONFIG_COMPAT #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) #else #define VDSO32_SYMBOL(tsk, name) (-1UL) #endif #endif /* __S390_VDSO_SYMBOLS_H__ */