[PATCH v14 02/19] target/arm: cpu64: only include hvf_arm.h when HVF is enabled

Mohamed Mediouni posted 19 patches 1 month, 1 week ago
Maintainers: Cameron Esfahani <dirty@apple.com>, Roman Bolshakov <rbolshakov@ddn.com>, Phil Dennis-Jordan <phil@philjordan.eu>, Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Alexander Graf <agraf@csgraf.de>
There is a newer version of this series
[PATCH v14 02/19] target/arm: cpu64: only include hvf_arm.h when HVF is enabled
Posted by Mohamed Mediouni 1 month, 1 week ago
Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
---
 target/arm/cpu64.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
index d6feba220e..b4f3ed2abd 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -31,7 +31,9 @@
 #include "system/qtest.h"
 #include "system/tcg.h"
 #include "kvm_arm.h"
+#if defined(CONFIG_HVF)
 #include "hvf_arm.h"
+#endif
 #include "whpx_arm.h"
 #include "qapi/visitor.h"
 #include "hw/core/qdev-properties.h"
-- 
2.50.1 (Apple Git-155)