[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v5 5/7] plat/common: Add header guards to avoid including header file for multiple times
Reviewed-by: Santiago Pagani <santiago.pagani@xxxxxxxxx> On 22.10.19, 03:53, "Minios-devel on behalf of Jia He" <minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of Justin.He@xxxxxxx> wrote: This is to add the header guards to avoid including header file plat/common/include/arm/arm64/cpu.h for multiple times. Signed-off-by: Jia He <justin.he@xxxxxxx> --- plat/common/include/arm/arm64/cpu.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plat/common/include/arm/arm64/cpu.h b/plat/common/include/arm/arm64/cpu.h index 23adf8d..ff33f7c 100644 --- a/plat/common/include/arm/arm64/cpu.h +++ b/plat/common/include/arm/arm64/cpu.h @@ -32,6 +32,9 @@ * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. */ +#ifndef __PLAT_COMMON_ARM64_CPU_H__ +#define __PLAT_COMMON_ARM64_CPU_H__ + #include <inttypes.h> #include <uk/essentials.h> #include <sw_ctx.h> @@ -136,3 +139,5 @@ static inline void arch_init_extregs(struct sw_ctx *ctx) { ctx->extregs = (uintptr_t)ctx + sizeof(struct sw_ctx); } + +#endif /* __PLAT_COMMON_ARM64_CPU_H__ */ -- 2.17.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |