[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Include some header files that are not automatically included on all archs



# HG changeset patch
# User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1327311551 0
# Node ID ab0eab766edb933431d29e35cc18075be2a9bf41
# Parent  95e07258d189579592fabd1fb6633dfc4a6be9bb
Include some header files that are not automatically included on all archs

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 95e07258d189 -r ab0eab766edb xen/common/domctl.c
--- a/xen/common/domctl.c       Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/common/domctl.c       Mon Jan 23 09:39:11 2012 +0000
@@ -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>
 
diff -r 95e07258d189 -r ab0eab766edb xen/common/grant_table.c
--- a/xen/common/grant_table.c  Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/common/grant_table.c  Mon Jan 23 09:39:11 2012 +0000
@@ -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;
diff -r 95e07258d189 -r ab0eab766edb xen/common/irq.c
--- a/xen/common/irq.c  Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/common/irq.c  Mon Jan 23 09:39:11 2012 +0000
@@ -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)
 {
diff -r 95e07258d189 -r ab0eab766edb xen/common/keyhandler.c
--- a/xen/common/keyhandler.c   Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/common/keyhandler.c   Mon Jan 23 09:39:11 2012 +0000
@@ -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>
 
diff -r 95e07258d189 -r ab0eab766edb xen/common/memory.c
--- a/xen/common/memory.c       Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/common/memory.c       Mon Jan 23 09:39:11 2012 +0000
@@ -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>
diff -r 95e07258d189 -r ab0eab766edb xen/common/spinlock.c
--- a/xen/common/spinlock.c     Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/common/spinlock.c     Mon Jan 23 09:39:11 2012 +0000
@@ -8,6 +8,7 @@
 #include <xen/preempt.h>
 #include <public/sysctl.h>
 #include <asm/processor.h>
+#include <asm/atomic.h>
 
 #ifndef NDEBUG
 
diff -r 95e07258d189 -r ab0eab766edb xen/common/wait.c
--- a/xen/common/wait.c Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/common/wait.c Mon Jan 23 09:39:11 2012 +0000
@@ -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;
diff -r 95e07258d189 -r ab0eab766edb xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/drivers/char/console.c        Mon Jan 23 09:39:11 2012 +0000
@@ -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>
diff -r 95e07258d189 -r ab0eab766edb xen/include/xen/grant_table.h
--- a/xen/include/xen/grant_table.h     Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/include/xen/grant_table.h     Mon Jan 23 09:39:11 2012 +0000
@@ -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. */
diff -r 95e07258d189 -r ab0eab766edb xen/include/xen/list.h
--- a/xen/include/xen/list.h    Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/include/xen/list.h    Mon Jan 23 09:39:11 2012 +0000
@@ -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
diff -r 95e07258d189 -r ab0eab766edb xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/include/xen/sched.h   Mon Jan 23 09:39:11 2012 +0000
@@ -13,6 +13,10 @@
 #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>
diff -r 95e07258d189 -r ab0eab766edb xen/include/xen/timer.h
--- a/xen/include/xen/timer.h   Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/include/xen/timer.h   Mon Jan 23 09:39:11 2012 +0000
@@ -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). */
diff -r 95e07258d189 -r ab0eab766edb xen/include/xen/tmem_xen.h
--- a/xen/include/xen/tmem_xen.h        Mon Jan 23 09:38:34 2012 +0000
+++ b/xen/include/xen/tmem_xen.h        Mon Jan 23 09:39:11 2012 +0000
@@ -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 */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.