[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v3 4/8] plat/common: add include guards to include/x86/cpu.h
Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx> Reviewed-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> --- plat/common/include/x86/cpu.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plat/common/include/x86/cpu.h b/plat/common/include/x86/cpu.h index 04d87317..001e9cac 100644 --- a/plat/common/include/x86/cpu.h +++ b/plat/common/include/x86/cpu.h @@ -27,8 +27,10 @@ * CPU related macros and definitions copied from mini-os/os.h */ -#include <uk/arch/types.h> +#ifndef __PLAT_COMMON_X86_CPU_H__ +#define __PLAT_COMMON_X86_CPU_H__ +#include <uk/arch/types.h> void halt(void); void system_off(void); @@ -140,3 +142,5 @@ static inline __u64 mul64_32(__u64 a, __u32 b) return prod; } + +#endif /* __PLAT_COMMON_X86_CPU_H__ */ -- 2.20.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |