From 79834d25f5cdfb1e14646c59720c53917c2713e6 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 17 Mar 2020 16:14:57 +0100 Subject: [PATCH] x86/HVM: reduce vioapic.h include dependencies Drop an #include not needed by the header itself. While verifying the header (now) builds standalone, I noticed an omission in a public header which gets taken care of here as well. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- xen/include/asm-x86/hvm/vioapic.h | 1 - xen/include/public/arch-x86/hvm/save.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/include/asm-x86/hvm/vioapic.h b/xen/include/asm-x86/hvm/vioapic.h index a72cd178f4..d6f4e12d54 100644 --- a/xen/include/asm-x86/hvm/vioapic.h +++ b/xen/include/asm-x86/hvm/vioapic.h @@ -25,7 +25,6 @@ #define __ASM_X86_HVM_VIOAPIC_H__ #include -#include #include #define VIOAPIC_VERSION_ID 0x11 /* IOAPIC version */ diff --git a/xen/include/public/arch-x86/hvm/save.h b/xen/include/public/arch-x86/hvm/save.h index 468c28dedb..773a380bc2 100644 --- a/xen/include/public/arch-x86/hvm/save.h +++ b/xen/include/public/arch-x86/hvm/save.h @@ -26,6 +26,8 @@ #ifndef __XEN_PUBLIC_HVM_SAVE_X86_H__ #define __XEN_PUBLIC_HVM_SAVE_X86_H__ +#include "../../xen.h" + /* * Save/restore header: general info about the save file. */ -- 2.30.2