mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-27 18:22:28 -04:00
This constant is always "0", providing no value and making the logic harder to understand. Also prepare for a consolidation of the vdso linkerscript logic by aligning it with other architectures. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-4-b64f0842d512@linutronix.de
25 lines
468 B
C
25 lines
468 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2012 ARM Limited
|
|
*/
|
|
#ifndef __ASM_VDSO_H
|
|
#define __ASM_VDSO_H
|
|
|
|
#define __VVAR_PAGES 2
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#include <generated/vdso-offsets.h>
|
|
|
|
#define VDSO_SYMBOL(base, name) \
|
|
({ \
|
|
(void *)(vdso_offset_##name + (unsigned long)(base)); \
|
|
})
|
|
|
|
extern char vdso_start[], vdso_end[];
|
|
extern char vdso32_start[], vdso32_end[];
|
|
|
|
#endif /* !__ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_VDSO_H */
|