mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 02:00:43 -04:00
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: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-17-b64f0842d512@linutronix.de
This commit is contained in:
committed by
Thomas Gleixner
parent
c3a190d425
commit
75ceb49add
@@ -1,5 +1,6 @@
|
||||
/* 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,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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user