Include asm_defns.h because ASM_CALL_CONSTRAINT is defined there.
Include xen/lib.h because we need ASSERT_UNREACHABLE.
No functional change.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
#include <xen/types.h>
+#include <asm/asm_defns.h>
+
#include <public/xen.h>
#include <public/sched.h>
#include <public/hvm/hvm_op.h>
#else /* CONFIG_XEN_GUEST */
+#include <xen/lib.h>
+
#include <public/sched.h>
static inline void xen_hypercall_console_write(