[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 6/9] plat/common: add include guards to include/x86/cpu.h
Reviewed-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> Florian Schmidt <florian.schmidt@xxxxxxxxx> writes: > Signed-off-by: Florian Schmidt <florian.schmidt@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.19.2 > -- Yuri Volchkov Software Specialist NEC Europe Ltd Kurfürsten-Anlage 36 D-69115 Heidelberg _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |