mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
sparc/vdso: Move __VDSO_PAGES to asm/vdso.h
Most architectures define the __VDSO_PAGES page macro in asm/vdso.h. Align the SPARC headers. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260909-vdso-asm-generic-vsyscall-h-v1-7-63ae856cc659@linutronix.de
This commit is contained in:
parent
8051a0f482
commit
782478555f
|
|
@ -5,6 +5,10 @@
|
|||
#ifndef _ASM_SPARC_VDSO_H
|
||||
#define _ASM_SPARC_VDSO_H
|
||||
|
||||
#define __VDSO_PAGES 4
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
|
||||
struct vdso_image {
|
||||
void *data;
|
||||
unsigned long size; /* Always a multiple of PAGE_SIZE */
|
||||
|
|
@ -17,4 +21,6 @@ extern const struct vdso_image vdso_image_64_builtin;
|
|||
extern const struct vdso_image vdso_image_32_builtin;
|
||||
#endif
|
||||
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
||||
#endif /* _ASM_SPARC_VDSO_H */
|
||||
|
|
|
|||
|
|
@ -3,6 +3,4 @@
|
|||
#ifndef _ASM_SPARC_VDSO_VSYSCALL_H
|
||||
#define _ASM_SPARC_VDSO_VSYSCALL_H
|
||||
|
||||
#define __VDSO_PAGES 4
|
||||
|
||||
#endif /* _ASM_SPARC_VDSO_VSYSCALL_H */
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <vdso/datapage.h>
|
||||
#include <vdso/page.h>
|
||||
#include <asm/vdso/vsyscall.h>
|
||||
#include <asm/vdso.h>
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user