mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
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 <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-7-35d60acf7410@linutronix.de
This commit is contained in:
parent
55434071cd
commit
a9d7e1ea58
|
|
@ -4,6 +4,9 @@
|
|||
* Author: Alex Smith <alex.smith@imgtec.com>
|
||||
*/
|
||||
|
||||
#ifndef __ASM_VDSO_VDSO_H
|
||||
#define __ASM_VDSO_VDSO_H
|
||||
|
||||
#include <asm/sgidefs.h>
|
||||
#include <vdso/page.h>
|
||||
|
||||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user