x86/HVM: reduce vpt.h include dependencies
authorJan Beulich <jbeulich@suse.com>
Tue, 17 Mar 2020 15:13:20 +0000 (16:13 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 17 Mar 2020 15:13:20 +0000 (16:13 +0100)
Drop #include-s not needed by the header itself.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/hvm/vpt.h

index 3fc78f8f496fd2b4c2413186948ccadf83da83f8..e1114c34c5914f32a6c14f4b75914e7486d176b1 100644 (file)
 #ifndef __ASM_X86_HVM_VPT_H__
 #define __ASM_X86_HVM_VPT_H__
 
-#include <xen/init.h>
-#include <xen/lib.h>
-#include <xen/time.h>
-#include <xen/errno.h>
-#include <xen/time.h>
 #include <xen/timer.h>
 #include <xen/list.h>
-#include <asm/hvm/vpic.h>
-#include <asm/hvm/irq.h>
-#include <public/hvm/save.h>
+#include <asm/hvm/hvm.h>
 
 /*
  * Abstract layer of periodic time, one short time.
@@ -145,6 +138,7 @@ struct pl_time {    /* platform time */
 void pt_save_timer(struct vcpu *v);
 void pt_restore_timer(struct vcpu *v);
 int pt_update_irq(struct vcpu *v);
+struct hvm_intack;
 void pt_intr_post(struct vcpu *v, struct hvm_intack intack);
 void pt_migrate(struct vcpu *v);