Patchwork [v12,2/7] x86/hvm: make io.h self-contained

login
register
mail settings
Submitter Chao Gao
Date April 6, 2017, 12:30 a.m.
Message ID <1491438627-10456-3-git-send-email-chao.gao@intel.com>
Download mbox | patch
Permalink /patch/217405/
State New
Headers show

Comments

Chao Gao - April 6, 2017, 12:30 a.m.
io.h uses structure npfec without including the file xen/mm.h where the
structure is defined.

Signed-off-by: Chao Gao <chao.gao@intel.com>
---
 xen/include/asm-x86/hvm/io.h | 1 +
 1 file changed, 1 insertion(+)
Paul Durrant - April 6, 2017, 12:10 p.m.
> -----Original Message-----
> From: Chao Gao [mailto:chao.gao@intel.com]
> Sent: 05 April 2017 20:30
> To: xen-devel@lists.xen.org
> Cc: Chao Gao <chao.gao@intel.com>; Paul Durrant
> <Paul.Durrant@citrix.com>; Jan Beulich <jbeulich@suse.com>; Andrew
> Cooper <Andrew.Cooper3@citrix.com>
> Subject: [PATCH v12 2/7] x86/hvm: make io.h self-contained
> 
> io.h uses structure npfec without including the file xen/mm.h where the
> structure is defined.
> 

Reviewed-by: Paul Durrant <paul.durrant@citrix.com>

> Signed-off-by: Chao Gao <chao.gao@intel.com>
> ---
>  xen/include/asm-x86/hvm/io.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/xen/include/asm-x86/hvm/io.h b/xen/include/asm-x86/hvm/io.h
> index d6801c1..2349f58 100644
> --- a/xen/include/asm-x86/hvm/io.h
> +++ b/xen/include/asm-x86/hvm/io.h
> @@ -19,6 +19,7 @@
>  #ifndef __ASM_X86_HVM_IO_H__
>  #define __ASM_X86_HVM_IO_H__
> 
> +#include <xen/mm.h>
>  #include <asm/hvm/vpic.h>
>  #include <asm/hvm/vioapic.h>
>  #include <public/hvm/ioreq.h>
> --
> 1.8.3.1

Patch

diff --git a/xen/include/asm-x86/hvm/io.h b/xen/include/asm-x86/hvm/io.h
index d6801c1..2349f58 100644
--- a/xen/include/asm-x86/hvm/io.h
+++ b/xen/include/asm-x86/hvm/io.h
@@ -19,6 +19,7 @@ 
 #ifndef __ASM_X86_HVM_IO_H__
 #define __ASM_X86_HVM_IO_H__
 
+#include <xen/mm.h>
 #include <asm/hvm/vpic.h>
 #include <asm/hvm/vioapic.h>
 #include <public/hvm/ioreq.h>