[tip: x86/entry] xen: Add missing include to hvm_op.h

From: tip-bot2 for Thomas Gleixner
Date: Mon Jun 01 2020 - 08:55:39 EST


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@xxxxxxxxxxxxx>
AuthorDate: Mon, 01 Jun 2020 14:50:43 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
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@xxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
include/xen/interface/hvm/hvm_op.h | 2 ++
1 file changed, 2 insertions(+)

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