Commit 75ceb49a authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Thomas Gleixner
Browse files

x86/vdso: Move the rng offset to vsyscall.h



vvar.h will go away, so move the last useful bit into vsyscall.h.

Signed-off-by: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-17-b64f0842d512@linutronix.de
parent c3a190d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
#include <asm/vdso.h>
#include <asm/vdso/vsyscall.h>

/*
 * Linker script for vDSO.  This is an ELF shared object prelinked to
+2 −1
Original line number Diff line number Diff line
@@ -2,11 +2,12 @@
#ifndef __ASM_VDSO_VSYSCALL_H
#define __ASM_VDSO_VSYSCALL_H

#define __VDSO_RND_DATA_OFFSET  640

#ifndef __ASSEMBLY__

#include <vdso/datapage.h>
#include <asm/vgtod.h>
#include <asm/vvar.h>

extern struct vdso_data *vdso_data;

+0 −2
Original line number Diff line number Diff line
@@ -19,8 +19,6 @@
#ifndef _ASM_X86_VVAR_H
#define _ASM_X86_VVAR_H

#define __VDSO_RND_DATA_OFFSET  640

#ifdef EMIT_VVAR
/*
 * EMIT_VVAR() is used by the kernel linker script to put vvars in the