From 4b7fe2e215f422bfbbf5a82ac47e1346d6b083ff Mon Sep 17 00:00:00 2001 From: Shiqing Gao Date: Fri, 11 Jan 2019 13:42:48 +0800 Subject: [PATCH] hv: init: minor fix related to header file Header file shall not be included multiple times. The following prototype shall be used. #ifndef INIT_H #define INIT_H /* body */ #endif /* INIT_H*/ Tracked-On: #861 Signed-off-by: Shiqing Gao --- hypervisor/include/arch/x86/init.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hypervisor/include/arch/x86/init.h b/hypervisor/include/arch/x86/init.h index 6e3207478..3010f3c34 100644 --- a/hypervisor/include/arch/x86/init.h +++ b/hypervisor/include/arch/x86/init.h @@ -3,7 +3,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef INIT_H +#ifndef INIT_H +#define INIT_H /* hypervisor stack bottom magic('intl') */ #define SP_BOTTOM_MAGIC 0x696e746cUL