[tip:,x86/entry] xen: Add missing include to hvm_op.h
diff mbox series

Message ID 159101612916.17951.7492360776296750785.tip-bot2@tip-bot2
State In Next
Commit 0cfc1b7f2f935584bdd6ef5d9a08a258a16d0a11
Headers show
Series
  • [tip:,x86/entry] xen: Add missing include to hvm_op.h
Related show

Commit Message

tip-bot2 for Peter Zijlstra June 1, 2020, 12:55 p.m. UTC
The following commit has been merged into the x86/entry branch of tip:

Commit-ID:     0cfc1b7f2f935584bdd6ef5d9a08a258a16d0a11
Gitweb:        https://git.kernel.org/tip/0cfc1b7f2f935584bdd6ef5d9a08a258a16d0a11
Author:        Thomas Gleixner <tglx@linutronix.de>
AuthorDate:    Mon, 01 Jun 2020 14:50:43 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Mon, 01 Jun 2020 14:50:43 +02:00

xen: Add missing include to hvm_op.h

hvm_op.h uses domain_t but does not include the header which contains the
typedef:

  include/xen/interface/hvm/hvm_op.h:29:5: error: unknown type name 'domid_t'

Fixes: 28447ea41542 ("xen: Move xen_setup_callback_vector() definition to include/xen/hvm.h")
Reported-by : kbuild test robot <lkp@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 include/xen/interface/hvm/hvm_op.h | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

diff --git a/include/xen/interface/hvm/hvm_op.h b/include/xen/interface/hvm/hvm_op.h
index 956a046..25d945e 100644
--- a/include/xen/interface/hvm/hvm_op.h
+++ b/include/xen/interface/hvm/hvm_op.h
@@ -21,6 +21,8 @@ 
 #ifndef __XEN_PUBLIC_HVM_HVM_OP_H__
 #define __XEN_PUBLIC_HVM_HVM_OP_H__
 
+#include <xen/interface/xen.h>
+
 /* Get/set subcommands: the second argument of the hypercall is a
  * pointer to a xen_hvm_param struct. */
 #define HVMOP_set_param           0