diff mbox

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

Message ID 1491438627-10456-3-git-send-email-chao.gao@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chao Gao April 6, 2017, 12:30 a.m. UTC
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(+)

Comments

Paul Durrant April 6, 2017, 12:10 p.m. UTC | #1
> -----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
diff mbox

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>