ChangeSet 1.1619.1.2, 2005/05/31 23:30:52+01:00, cl349@xxxxxxxxxxxxxxxxxxxx
Many files:
Don't include xen/slab.h and xen/domain.h at the _END_ of xen/sched.h.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
arch/x86/dmi_scan.c | 1 +
arch/x86/mtrr/main.c | 2 +-
arch/x86/setup.c | 1 +
common/dom0_ops.c | 1 +
common/domain.c | 1 +
common/grant_table.c | 1 +
common/keyhandler.c | 1 +
common/schedule.c | 1 +
include/xen/lib.h | 1 +
include/xen/sched.h | 3 ---
include/xen/slab.h | 3 ---
11 files changed, 9 insertions(+), 7 deletions(-)
diff -Nru a/xen/arch/x86/dmi_scan.c b/xen/arch/x86/dmi_scan.c
--- a/xen/arch/x86/dmi_scan.c 2005-05-31 20:03:15 -04:00
+++ b/xen/arch/x86/dmi_scan.c 2005-05-31 20:03:15 -04:00
@@ -3,6 +3,7 @@
#include <xen/kernel.h>
#include <xen/string.h>
#include <xen/init.h>
+#include <xen/cache.h>
#include <xen/slab.h>
#include <xen/acpi.h>
#include <asm/io.h>
diff -Nru a/xen/arch/x86/mtrr/main.c b/xen/arch/x86/mtrr/main.c
--- a/xen/arch/x86/mtrr/main.c 2005-05-31 20:03:15 -04:00
+++ b/xen/arch/x86/mtrr/main.c 2005-05-31 20:03:15 -04:00
@@ -33,7 +33,7 @@
#include <xen/config.h>
#include <xen/init.h>
-#include <xen/slab.h>
+#include <xen/lib.h>
#include <xen/smp.h>
#include <xen/spinlock.h>
#include <asm/mtrr.h>
diff -Nru a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c 2005-05-31 20:03:15 -04:00
+++ b/xen/arch/x86/setup.c 2005-05-31 20:03:15 -04:00
@@ -3,6 +3,7 @@
#include <xen/init.h>
#include <xen/lib.h>
#include <xen/sched.h>
+#include <xen/domain.h>
#include <xen/serial.h>
#include <xen/softirq.h>
#include <xen/acpi.h>
diff -Nru a/xen/common/dom0_ops.c b/xen/common/dom0_ops.c
--- a/xen/common/dom0_ops.c 2005-05-31 20:03:15 -04:00
+++ b/xen/common/dom0_ops.c 2005-05-31 20:03:15 -04:00
@@ -12,6 +12,7 @@
#include <xen/mm.h>
#include <public/dom0_ops.h>
#include <xen/sched.h>
+#include <xen/domain.h>
#include <xen/event.h>
#include <asm/domain_page.h>
#include <xen/trace.h>
diff -Nru a/xen/common/domain.c b/xen/common/domain.c
--- a/xen/common/domain.c 2005-05-31 20:03:15 -04:00
+++ b/xen/common/domain.c 2005-05-31 20:03:15 -04:00
@@ -10,6 +10,7 @@
#include <xen/sched.h>
#include <xen/errno.h>
#include <xen/sched.h>
+#include <xen/domain.h>
#include <xen/mm.h>
#include <xen/event.h>
#include <xen/time.h>
diff -Nru a/xen/common/grant_table.c b/xen/common/grant_table.c
--- a/xen/common/grant_table.c 2005-05-31 20:03:15 -04:00
+++ b/xen/common/grant_table.c 2005-05-31 20:03:15 -04:00
@@ -26,6 +26,7 @@
#define GRANT_DEBUG_VERBOSE 0
#include <xen/config.h>
+#include <xen/lib.h>
#include <xen/sched.h>
#include <xen/shadow.h>
#include <xen/mm.h>
diff -Nru a/xen/common/keyhandler.c b/xen/common/keyhandler.c
--- a/xen/common/keyhandler.c 2005-05-31 20:03:15 -04:00
+++ b/xen/common/keyhandler.c 2005-05-31 20:03:15 -04:00
@@ -10,6 +10,7 @@
#include <xen/serial.h>
#include <xen/sched.h>
#include <xen/softirq.h>
+#include <xen/domain.h>
#include <asm/debugger.h>
#define KEY_MAX 256
diff -Nru a/xen/common/schedule.c b/xen/common/schedule.c
--- a/xen/common/schedule.c 2005-05-31 20:03:15 -04:00
+++ b/xen/common/schedule.c 2005-05-31 20:03:15 -04:00
@@ -26,6 +26,7 @@
#include <xen/init.h>
#include <xen/lib.h>
#include <xen/sched.h>
+#include <xen/domain.h>
#include <xen/delay.h>
#include <xen/event.h>
#include <xen/time.h>
diff -Nru a/xen/include/xen/lib.h b/xen/include/xen/lib.h
--- a/xen/include/xen/lib.h 2005-05-31 20:03:15 -04:00
+++ b/xen/include/xen/lib.h 2005-05-31 20:03:15 -04:00
@@ -5,6 +5,7 @@
#include <stdarg.h>
#include <xen/config.h>
#include <xen/types.h>
+#include <xen/slab.h>
#include <xen/string.h>
#define BUG() do { \
diff -Nru a/xen/include/xen/sched.h b/xen/include/xen/sched.h
--- a/xen/include/xen/sched.h 2005-05-31 20:03:15 -04:00
+++ b/xen/include/xen/sched.h 2005-05-31 20:03:15 -04:00
@@ -409,9 +409,6 @@
#define VM_ASSIST(_d,_t) (test_bit((_t), &(_d)->vm_assist))
-#include <xen/slab.h>
-#include <xen/domain.h>
-
#endif /* __SCHED_H__ */
/*
diff -Nru a/xen/include/xen/slab.h b/xen/include/xen/slab.h
--- a/xen/include/xen/slab.h 2005-05-31 20:03:15 -04:00
+++ b/xen/include/xen/slab.h 2005-05-31 20:03:15 -04:00
@@ -2,9 +2,6 @@
#ifndef __SLAB_H__
#define __SLAB_H__
-#include <xen/config.h>
-#include <xen/mm.h>
-
/* Allocate space for typed object. */
#define xmalloc(_type) ((_type *)_xmalloc(sizeof(_type), __alignof__(_type)))
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|