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

[Xen-changelog] Many files:



ChangeSet 1.1651, 2005/06/02 21:46:08+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        Many files:
          More include cleanups towards "include where it's used".
        sched.h:
          g/c unneeded include.
          include xen/spinlock.h once should be enough.
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 arch/x86/acpi/boot.c          |    2 +-
 arch/x86/i387.c               |    1 +
 arch/x86/microcode.c          |    1 +
 arch/x86/nmi.c                |    2 +-
 arch/x86/x86_32/asm-offsets.c |    1 +
 arch/x86/x86_32/seg_fixup.c   |    1 +
 arch/x86/x86_64/asm-offsets.c |    1 +
 common/kernel.c               |    1 +
 include/xen/event.h           |    1 +
 include/xen/sched.h           |    2 --
 10 files changed, 9 insertions(+), 4 deletions(-)


diff -Nru a/xen/arch/x86/acpi/boot.c b/xen/arch/x86/acpi/boot.c
--- a/xen/arch/x86/acpi/boot.c  2005-06-02 18:03:56 -04:00
+++ b/xen/arch/x86/acpi/boot.c  2005-06-02 18:03:56 -04:00
@@ -28,7 +28,7 @@
 #include <xen/init.h>
 #include <xen/acpi.h>
 #include <xen/irq.h>
-#include <xen/sched.h>
+#include <asm/fixmap.h>
 #include <asm/page.h>
 #include <asm/apic.h>
 #include <asm/io_apic.h>
diff -Nru a/xen/arch/x86/i387.c b/xen/arch/x86/i387.c
--- a/xen/arch/x86/i387.c       2005-06-02 18:03:56 -04:00
+++ b/xen/arch/x86/i387.c       2005-06-02 18:03:56 -04:00
@@ -10,6 +10,7 @@
 
 #include <xen/config.h>
 #include <xen/sched.h>
+#include <asm/current.h>
 #include <asm/processor.h>
 #include <asm/i387.h>
 
diff -Nru a/xen/arch/x86/microcode.c b/xen/arch/x86/microcode.c
--- a/xen/arch/x86/microcode.c  2005-06-02 18:03:56 -04:00
+++ b/xen/arch/x86/microcode.c  2005-06-02 18:03:56 -04:00
@@ -74,6 +74,7 @@
 #include <xen/kernel.h>
 #include <xen/init.h>
 #include <xen/sched.h>
+#include <xen/smp.h>
 #include <xen/spinlock.h>
 
 #include <asm/msr.h>
diff -Nru a/xen/arch/x86/nmi.c b/xen/arch/x86/nmi.c
--- a/xen/arch/x86/nmi.c        2005-06-02 18:03:56 -04:00
+++ b/xen/arch/x86/nmi.c        2005-06-02 18:03:56 -04:00
@@ -21,8 +21,8 @@
 #include <xen/time.h>
 #include <xen/sched.h>
 #include <xen/console.h>
+#include <xen/smp.h>
 #include <asm/mc146818rtc.h>
-#include <asm/smp.h>
 #include <asm/msr.h>
 #include <asm/mpspec.h>
 #include <asm/debugger.h>
diff -Nru a/xen/arch/x86/x86_32/asm-offsets.c 
b/xen/arch/x86/x86_32/asm-offsets.c
--- a/xen/arch/x86/x86_32/asm-offsets.c 2005-06-02 18:03:56 -04:00
+++ b/xen/arch/x86/x86_32/asm-offsets.c 2005-06-02 18:03:56 -04:00
@@ -7,6 +7,7 @@
 #include <xen/config.h>
 #include <xen/perfc.h>
 #include <xen/sched.h>
+#include <asm/fixmap.h>
 #include <asm/hardirq.h>
 
 #define DEFINE(_sym, _val) \
diff -Nru a/xen/arch/x86/x86_32/seg_fixup.c b/xen/arch/x86/x86_32/seg_fixup.c
--- a/xen/arch/x86/x86_32/seg_fixup.c   2005-06-02 18:03:56 -04:00
+++ b/xen/arch/x86/x86_32/seg_fixup.c   2005-06-02 18:03:56 -04:00
@@ -27,6 +27,7 @@
 #include <xen/errno.h>
 #include <xen/mm.h>
 #include <xen/perfc.h>
+#include <asm/current.h>
 #include <asm/processor.h>
 #include <asm/regs.h>
 #include <asm/x86_emulate.h>
diff -Nru a/xen/arch/x86/x86_64/asm-offsets.c 
b/xen/arch/x86/x86_64/asm-offsets.c
--- a/xen/arch/x86/x86_64/asm-offsets.c 2005-06-02 18:03:56 -04:00
+++ b/xen/arch/x86/x86_64/asm-offsets.c 2005-06-02 18:03:56 -04:00
@@ -7,6 +7,7 @@
 #include <xen/config.h>
 #include <xen/perfc.h>
 #include <xen/sched.h>
+#include <asm/fixmap.h>
 #include <asm/hardirq.h>
 
 #define DEFINE(_sym, _val) \
diff -Nru a/xen/common/kernel.c b/xen/common/kernel.c
--- a/xen/common/kernel.c       2005-06-02 18:03:56 -04:00
+++ b/xen/common/kernel.c       2005-06-02 18:03:56 -04:00
@@ -13,6 +13,7 @@
 #include <xen/errno.h>
 #include <xen/compile.h>
 #include <xen/sched.h>
+#include <asm/current.h>
 
 void cmdline_parse(char *cmdline)
 {
diff -Nru a/xen/include/xen/event.h b/xen/include/xen/event.h
--- a/xen/include/xen/event.h   2005-06-02 18:03:56 -04:00
+++ b/xen/include/xen/event.h   2005-06-02 18:03:56 -04:00
@@ -11,6 +11,7 @@
 
 #include <xen/config.h>
 #include <xen/sched.h>
+#include <xen/smp.h>
 #include <asm/bitops.h>
 
 /*
diff -Nru a/xen/include/xen/sched.h b/xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   2005-06-02 18:03:56 -04:00
+++ b/xen/include/xen/sched.h   2005-06-02 18:03:56 -04:00
@@ -9,8 +9,6 @@
 #include <xen/smp.h>
 #include <public/xen.h>
 #include <public/dom0_ops.h>
-#include <xen/list.h>
-#include <xen/spinlock.h>
 #include <xen/grant_table.h>
 #include <asm/domain.h>
 

_______________________________________________
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®.