mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 17:23:36 +00:00
39c089a01a
No implementation of this hook uses the passed in timekeeper anymore. This avoids including a non-VDSO header while building the VDSO, which can lead to compilation errors. 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-arch_update_vsyscall-v1-1-7fe5a3ea4382@linutronix.de
29 lines
643 B
C
29 lines
643 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __ASM_GENERIC_VSYSCALL_H
|
|
#define __ASM_GENERIC_VSYSCALL_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#ifndef __arch_get_k_vdso_data
|
|
static __always_inline struct vdso_data *__arch_get_k_vdso_data(void)
|
|
{
|
|
return NULL;
|
|
}
|
|
#endif /* __arch_get_k_vdso_data */
|
|
|
|
#ifndef __arch_update_vsyscall
|
|
static __always_inline void __arch_update_vsyscall(struct vdso_data *vdata)
|
|
{
|
|
}
|
|
#endif /* __arch_update_vsyscall */
|
|
|
|
#ifndef __arch_sync_vdso_data
|
|
static __always_inline void __arch_sync_vdso_data(struct vdso_data *vdata)
|
|
{
|
|
}
|
|
#endif /* __arch_sync_vdso_data */
|
|
|
|
#endif /* !__ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_GENERIC_VSYSCALL_H */
|