diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2026-09-09 10:51:28 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-10-15 17:33:20 +0200 |
| commit | 9e61cabcce2bdc14a5e4c0b08b2fbf5515f2ac23 (patch) | |
| tree | ea3ec28af02411b4c27c958ec458fe8b3002399e | |
| parent | 996b01393e9317d6443b0c1816fa7e5134c2a0a1 (diff) | |
vdso: Remove __ASSEMBLER__ guards from vsyscall.h
These headers are only used from regular C code.
Remove the unnecessary guards.
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-15-63ae856cc659@linutronix.de
| -rw-r--r-- | arch/arm/include/asm/vdso/vsyscall.h | 4 | ||||
| -rw-r--r-- | arch/arm64/include/asm/vdso/vsyscall.h | 4 | ||||
| -rw-r--r-- | include/vdso/vsyscall.h | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/include/asm/vdso/vsyscall.h b/arch/arm/include/asm/vdso/vsyscall.h index 14f2ea9d8640..b97dda100e52 100644 --- a/arch/arm/include/asm/vdso/vsyscall.h +++ b/arch/arm/include/asm/vdso/vsyscall.h @@ -2,8 +2,6 @@ #ifndef __ASM_VDSO_VSYSCALL_H #define __ASM_VDSO_VSYSCALL_H -#ifndef __ASSEMBLY__ - #include <vdso/datapage.h> #include <asm/cacheflush.h> @@ -14,6 +12,4 @@ void __arch_sync_vdso_time_data(struct vdso_time_data *vdata) } #define __arch_sync_vdso_time_data __arch_sync_vdso_time_data -#endif /* !__ASSEMBLY__ */ - #endif /* __ASM_VDSO_VSYSCALL_H */ diff --git a/arch/arm64/include/asm/vdso/vsyscall.h b/arch/arm64/include/asm/vdso/vsyscall.h index 7d9d6bdd58b2..7c46c37fd36f 100644 --- a/arch/arm64/include/asm/vdso/vsyscall.h +++ b/arch/arm64/include/asm/vdso/vsyscall.h @@ -2,8 +2,6 @@ #ifndef __ASM_VDSO_VSYSCALL_H #define __ASM_VDSO_VSYSCALL_H -#ifndef __ASSEMBLER__ - #include <vdso/datapage.h> #define VDSO_PRECISION_MASK ~(0xFF00ULL<<48) @@ -19,6 +17,4 @@ void __arch_update_vdso_clock(struct vdso_clock *vc) } #define __arch_update_vdso_clock __arch_update_vdso_clock -#endif /* !__ASSEMBLER__ */ - #endif /* __ASM_VDSO_VSYSCALL_H */ diff --git a/include/vdso/vsyscall.h b/include/vdso/vsyscall.h index 29dd4e097220..af62bbf04eac 100644 --- a/include/vdso/vsyscall.h +++ b/include/vdso/vsyscall.h @@ -2,10 +2,6 @@ #ifndef __VDSO_VSYSCALL_H #define __VDSO_VSYSCALL_H -#ifndef __ASSEMBLER__ - #include <asm/vdso/vsyscall.h> -#endif /* !__ASSEMBLER__ */ - #endif /* __VDSO_VSYSCALL_H */ |
