mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
VDSO32_SYMBOL() is used in signal.c, defining the value to zero avoids liker issues when CONFIG_COMPAT=n. Signed-off-by: Helge Deller <deller@gmx.de>
26 lines
664 B
C
26 lines
664 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __PARISC_VDSO_H__
|
|
#define __PARISC_VDSO_H__
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
#ifdef CONFIG_64BIT
|
|
#include <generated/vdso64-offsets.h>
|
|
#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name))
|
|
#endif
|
|
#if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT)
|
|
#include <generated/vdso32-offsets.h>
|
|
#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name))
|
|
#else
|
|
#define VDSO32_SYMBOL(tsk, name) 0UL
|
|
#endif
|
|
|
|
#endif /* __ASSEMBLER__ */
|
|
|
|
/* Default link addresses for the vDSOs */
|
|
#define VDSO_LBASE 0
|
|
|
|
#define VDSO_VERSION_STRING LINUX_6.11
|
|
|
|
#endif /* __PARISC_VDSO_H__ */
|