提交 4d9310e3 编写于 作者: S Stefano Stabellini 提交者: Konrad Rzeszutek Wilk

xen: missing includes

Changes in v2:
- remove pvclock hack;
- remove include linux/types.h from xen/interface/xen.h.
v3:
- Compile under IA64
Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
上级 b58aaa4b
...@@ -265,6 +265,8 @@ typedef struct xen_callback xen_callback_t; ...@@ -265,6 +265,8 @@ typedef struct xen_callback xen_callback_t;
#endif /* !__ASSEMBLY__ */ #endif /* !__ASSEMBLY__ */
#include <asm/pvclock-abi.h>
/* Size of the shared_info area (this is not related to page size). */ /* Size of the shared_info area (this is not related to page size). */
#define XSI_SHIFT 14 #define XSI_SHIFT 14
#define XSI_SIZE (1 << XSI_SHIFT) #define XSI_SIZE (1 << XSI_SHIFT)
......
...@@ -121,6 +121,8 @@ struct arch_shared_info { ...@@ -121,6 +121,8 @@ struct arch_shared_info {
#include "interface_64.h" #include "interface_64.h"
#endif #endif
#include <asm/pvclock-abi.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* /*
* The following is all CPU context. Note that the fpu_ctxt block is filled * The following is all CPU context. Note that the fpu_ctxt block is filled
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/console.h> #include <linux/console.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/irq.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/list.h> #include <linux/list.h>
...@@ -35,6 +36,7 @@ ...@@ -35,6 +36,7 @@
#include <xen/page.h> #include <xen/page.h>
#include <xen/events.h> #include <xen/events.h>
#include <xen/interface/io/console.h> #include <xen/interface/io/console.h>
#include <xen/interface/sched.h>
#include <xen/hvc-console.h> #include <xen/hvc-console.h>
#include <xen/xenbus.h> #include <xen/xenbus.h>
......
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#include <xen/interface/memory.h> #include <xen/interface/memory.h>
#include <xen/hvc-console.h> #include <xen/hvc-console.h>
#include <asm/xen/hypercall.h> #include <asm/xen/hypercall.h>
#include <asm/xen/interface.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/sync_bitops.h> #include <asm/sync_bitops.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <xen/xenbus.h> #include <xen/xenbus.h>
#include <xen/events.h> #include <xen/events.h>
#include <xen/page.h> #include <xen/page.h>
#include <xen/xen.h>
#include <xen/platform_pci.h> #include <xen/platform_pci.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#define __XEN_PUBLIC_XEN_H__ #define __XEN_PUBLIC_XEN_H__
#include <asm/xen/interface.h> #include <asm/xen/interface.h>
#include <asm/pvclock-abi.h>
/* /*
* XEN "SYSTEM CALLS" (a.k.a. HYPERCALLS). * XEN "SYSTEM CALLS" (a.k.a. HYPERCALLS).
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <xen/interface/xen.h>
typedef unsigned long xen_pfn_t; typedef unsigned long xen_pfn_t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册