Include some header files that are not automatically included on all archs
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 23 Jan 2012 09:39:11 +0000 (09:39 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 23 Jan 2012 09:39:11 +0000 (09:39 +0000)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
13 files changed:
xen/common/domctl.c
xen/common/grant_table.c
xen/common/irq.c
xen/common/keyhandler.c
xen/common/memory.c
xen/common/spinlock.c
xen/common/wait.c
xen/drivers/char/console.c
xen/include/xen/grant_table.h
xen/include/xen/list.h
xen/include/xen/sched.h
xen/include/xen/timer.h
xen/include/xen/tmem_xen.h

index d6ae09bb0fc56bcb5c2d85c686168aed16ae630f..14ab515ae73b9bfbf50ce677357971408181bf12 100644 (file)
@@ -24,6 +24,7 @@
 #include <xen/paging.h>
 #include <xen/hypercall.h>
 #include <asm/current.h>
+#include <asm/page.h>
 #include <public/domctl.h>
 #include <xsm/xsm.h>
 
index 34a49dbc1ab7813b8af8ebd0088314275126804e..58d5e1f11475d5a8f98e2c1e73949340b16500b9 100644 (file)
@@ -38,6 +38,7 @@
 #include <xen/paging.h>
 #include <xen/keyhandler.h>
 #include <xsm/xsm.h>
+#include <asm/flushtlb.h>
 
 #ifndef max_nr_grant_frames
 unsigned int max_nr_grant_frames = DEFAULT_MAX_NR_GRANT_FRAMES;
index 6d37dd4a1c36192981c548f8788217041fa26353..3e55dfa5e6badb39006a01e7eb1be7480054724b 100644 (file)
@@ -1,5 +1,6 @@
 #include <xen/config.h>
 #include <xen/irq.h>
+#include <xen/errno.h>
 
 int init_one_irq_desc(struct irq_desc *desc)
 {
index f22fe05368f585c341ccfd7a74fd708fe16e67ee..1051a867bde473c4b0bb526cdfe4b7ae14cb2f5e 100644 (file)
@@ -15,6 +15,7 @@
 #include <xen/compat.h>
 #include <xen/ctype.h>
 #include <xen/perfc.h>
+#include <xen/init.h>
 #include <asm/debugger.h>
 #include <asm/div64.h>
 
index c796137df3d6629cc7c50170afd21c081913989f..8d45439745d1253b01d0f51f5fc3bca2802e97e2 100644 (file)
@@ -23,8 +23,8 @@
 #include <xen/tmem_xen.h>
 #include <asm/current.h>
 #include <asm/hardirq.h>
-#ifdef CONFIG_X86
-# include <asm/p2m.h>
+#ifndef __ia64__
+#include <asm/p2m.h>
 #endif
 #include <xen/numa.h>
 #include <public/memory.h>
index ecf5b441df6c276c751398ac22dfc2b36488355c..bfb96707cad2f2180d64c3b354b2fd2b89ef831a 100644 (file)
@@ -8,6 +8,7 @@
 #include <xen/preempt.h>
 #include <public/sysctl.h>
 #include <asm/processor.h>
+#include <asm/atomic.h>
 
 #ifndef NDEBUG
 
index 2fb2309ac0ba8c1a6ebf3ba4bd3d05012f0bf88c..92d1a4f9a598a81ba24ff2404c6e232bdbc050a9 100644 (file)
@@ -23,6 +23,7 @@
 #include <xen/config.h>
 #include <xen/sched.h>
 #include <xen/wait.h>
+#include <xen/errno.h>
 
 struct waitqueue_vcpu {
     struct list_head list;
index 8a4c6845b14175be6fffa02c9a4f260c4b8717b1..89cf4f845526a5c081907dc8eb2a0ee854b14abd 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <xen/version.h>
 #include <xen/lib.h>
+#include <xen/init.h>
 #include <xen/event.h>
 #include <xen/console.h>
 #include <xen/serial.h>
index 80817608b6cfb57aafcafc825b8d1c8ab7e4c872..76c0b06bbb6dcadb6f9e26ec8f3e2ffe287ac8c1 100644 (file)
@@ -25,6 +25,7 @@
 #define __XEN_GRANT_TABLE_H__
 
 #include <public/grant_table.h>
+#include <asm/page.h>
 #include <asm/grant_table.h>
 
 /* Active grant entry - used for shadowing GTF_permit_access grants. */
index b87682f53642a780d86b93a3034bf98921ca56ac..18443a42d2b49dd29e1400f506d6567b12de9260 100644 (file)
@@ -8,6 +8,7 @@
 #define __XEN_LIST_H__
 
 #include <xen/lib.h>
+#include <xen/prefetch.h>
 #include <asm/system.h>
 
 /* These are non-NULL pointers that will result in page faults
index dbfb8b39f334e0363f911a1d91b0e28410104c6d..567cd363a73637f7aa81a066fbf785c14516571e 100644 (file)
 #include <xen/nodemask.h>
 #include <xen/radix-tree.h>
 #include <xen/multicall.h>
+#include <xen/tasklet.h>
+#include <xen/mm.h>
+#include <xen/smp.h>
+#include <asm/atomic.h>
 #include <xen/wait.h>
 #include <public/xen.h>
 #include <public/domctl.h>
index d2091420d7f4c34be382685e0aa829ab4cf7b9ff..7c465fbf4ba9b007aa1fb57628f465f5cf1d17f1 100644 (file)
@@ -12,6 +12,7 @@
 #include <xen/time.h>
 #include <xen/string.h>
 #include <xen/list.h>
+#include <xen/percpu.h>
 
 struct timer {
     /* System time expiry value (nanoseconds since boot). */
index 5529b14dbd31d062be9217cd5c65c5d658b96a3c..4a357605f55434d8cdea099d0e95546b0f203212 100644 (file)
@@ -10,6 +10,7 @@
 #define __XEN_TMEM_XEN_H__
 
 #include <xen/mm.h> /* heap alloc/free */
+#include <xen/pfn.h>
 #include <xen/xmalloc.h> /* xmalloc/xfree */
 #include <xen/sched.h>  /* struct domain */
 #include <xen/guest_access.h> /* copy_from_guest */