Skip to content

Commit

Permalink
xen: missing includes
Browse files Browse the repository at this point in the history
Changes in v2:
- remove pvclock hack;
- remove include linux/types.h from xen/interface/xen.h.
v3:
- Compile under IA64
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Stefano Stabellini authored and Konrad Rzeszutek Wilk committed Aug 21, 2012
1 parent b58aaa4 commit 4d9310e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/ia64/include/asm/xen/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ typedef struct xen_callback xen_callback_t;

#endif /* !__ASSEMBLY__ */

#include <asm/pvclock-abi.h>

/* Size of the shared_info area (this is not related to page size). */
#define XSI_SHIFT 14
#define XSI_SIZE (1 << XSI_SHIFT)
Expand Down
2 changes: 2 additions & 0 deletions arch/x86/include/asm/xen/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ struct arch_shared_info {
#include "interface_64.h"
#endif

#include <asm/pvclock-abi.h>

#ifndef __ASSEMBLY__
/*
* The following is all CPU context. Note that the fpu_ctxt block is filled
Expand Down
2 changes: 2 additions & 0 deletions drivers/tty/hvc/hvc_xen.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/irq.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/list.h>
Expand All @@ -35,6 +36,7 @@
#include <xen/page.h>
#include <xen/events.h>
#include <xen/interface/io/console.h>
#include <xen/interface/sched.h>
#include <xen/hvc-console.h>
#include <xen/xenbus.h>

Expand Down
1 change: 1 addition & 0 deletions drivers/xen/grant-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include <xen/interface/memory.h>
#include <xen/hvc-console.h>
#include <asm/xen/hypercall.h>
#include <asm/xen/interface.h>

#include <asm/pgtable.h>
#include <asm/sync_bitops.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/xen/xenbus/xenbus_probe_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <xen/xenbus.h>
#include <xen/events.h>
#include <xen/page.h>
#include <xen/xen.h>

#include <xen/platform_pci.h>

Expand Down
1 change: 0 additions & 1 deletion include/xen/interface/xen.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#define __XEN_PUBLIC_XEN_H__

#include <asm/xen/interface.h>
#include <asm/pvclock-abi.h>

/*
* XEN "SYSTEM CALLS" (a.k.a. HYPERCALLS).
Expand Down
1 change: 1 addition & 0 deletions include/xen/privcmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

#include <linux/types.h>
#include <linux/compiler.h>
#include <xen/interface/xen.h>

typedef unsigned long xen_pfn_t;

Expand Down

0 comments on commit 4d9310e

Please sign in to comment.