From: Thomas Weißschuh Date: Fri, 27 Feb 2026 06:44:33 +0000 (+0100) Subject: MIPS: vdso: Add include guard to asm/vdso/vdso.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9d7e1ea5897477d704bd03eaa93d19634e90523;p=thirdparty%2Fkernel%2Flinux.git MIPS: vdso: Add include guard to asm/vdso/vdso.h An upcomming patch will lead to the header file being included multiple times from the same source file. Add an include guard so this is possible. Signed-off-by: Thomas Weißschuh Signed-off-by: Thomas Gleixner Signed-off-by: Borislav Petkov (AMD) Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-7-35d60acf7410@linutronix.de --- diff --git a/arch/mips/include/asm/vdso/vdso.h b/arch/mips/include/asm/vdso/vdso.h index 6889e0f2e5db9..ef50d33f3439a 100644 --- a/arch/mips/include/asm/vdso/vdso.h +++ b/arch/mips/include/asm/vdso/vdso.h @@ -4,6 +4,9 @@ * Author: Alex Smith */ +#ifndef __ASM_VDSO_VDSO_H +#define __ASM_VDSO_VDSO_H + #include #include @@ -70,3 +73,5 @@ static inline void __iomem *get_gic(const struct vdso_time_data *data) #endif /* CONFIG_CLKSRC_MIPS_GIC */ #endif /* __ASSEMBLER__ */ + +#endif /* __ASM_VDSO_VDSO_H */