ia64/xen-unstable

changeset 5287:529d5150d163

bitkeeper revision 1.1651 (429f70102tptpkVKU9_mkUC4olK_-Q)

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@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Jun 02 20:46:08 2005 +0000 (2005-06-02)
parents c439bfa3a4ce
children 0c246cd111e1
files xen/arch/x86/acpi/boot.c xen/arch/x86/i387.c xen/arch/x86/microcode.c xen/arch/x86/nmi.c xen/arch/x86/x86_32/asm-offsets.c xen/arch/x86/x86_32/seg_fixup.c xen/arch/x86/x86_64/asm-offsets.c xen/common/kernel.c xen/include/xen/event.h xen/include/xen/sched.h
line diff
     1.1 --- a/xen/arch/x86/acpi/boot.c	Thu Jun 02 20:28:16 2005 +0000
     1.2 +++ b/xen/arch/x86/acpi/boot.c	Thu Jun 02 20:46:08 2005 +0000
     1.3 @@ -28,7 +28,7 @@
     1.4  #include <xen/init.h>
     1.5  #include <xen/acpi.h>
     1.6  #include <xen/irq.h>
     1.7 -#include <xen/sched.h>
     1.8 +#include <asm/fixmap.h>
     1.9  #include <asm/page.h>
    1.10  #include <asm/apic.h>
    1.11  #include <asm/io_apic.h>
     2.1 --- a/xen/arch/x86/i387.c	Thu Jun 02 20:28:16 2005 +0000
     2.2 +++ b/xen/arch/x86/i387.c	Thu Jun 02 20:46:08 2005 +0000
     2.3 @@ -10,6 +10,7 @@
     2.4  
     2.5  #include <xen/config.h>
     2.6  #include <xen/sched.h>
     2.7 +#include <asm/current.h>
     2.8  #include <asm/processor.h>
     2.9  #include <asm/i387.h>
    2.10  
     3.1 --- a/xen/arch/x86/microcode.c	Thu Jun 02 20:28:16 2005 +0000
     3.2 +++ b/xen/arch/x86/microcode.c	Thu Jun 02 20:46:08 2005 +0000
     3.3 @@ -74,6 +74,7 @@
     3.4  #include <xen/kernel.h>
     3.5  #include <xen/init.h>
     3.6  #include <xen/sched.h>
     3.7 +#include <xen/smp.h>
     3.8  #include <xen/spinlock.h>
     3.9  
    3.10  #include <asm/msr.h>
     4.1 --- a/xen/arch/x86/nmi.c	Thu Jun 02 20:28:16 2005 +0000
     4.2 +++ b/xen/arch/x86/nmi.c	Thu Jun 02 20:46:08 2005 +0000
     4.3 @@ -21,8 +21,8 @@
     4.4  #include <xen/time.h>
     4.5  #include <xen/sched.h>
     4.6  #include <xen/console.h>
     4.7 +#include <xen/smp.h>
     4.8  #include <asm/mc146818rtc.h>
     4.9 -#include <asm/smp.h>
    4.10  #include <asm/msr.h>
    4.11  #include <asm/mpspec.h>
    4.12  #include <asm/debugger.h>
     5.1 --- a/xen/arch/x86/x86_32/asm-offsets.c	Thu Jun 02 20:28:16 2005 +0000
     5.2 +++ b/xen/arch/x86/x86_32/asm-offsets.c	Thu Jun 02 20:46:08 2005 +0000
     5.3 @@ -7,6 +7,7 @@
     5.4  #include <xen/config.h>
     5.5  #include <xen/perfc.h>
     5.6  #include <xen/sched.h>
     5.7 +#include <asm/fixmap.h>
     5.8  #include <asm/hardirq.h>
     5.9  
    5.10  #define DEFINE(_sym, _val) \
     6.1 --- a/xen/arch/x86/x86_32/seg_fixup.c	Thu Jun 02 20:28:16 2005 +0000
     6.2 +++ b/xen/arch/x86/x86_32/seg_fixup.c	Thu Jun 02 20:46:08 2005 +0000
     6.3 @@ -27,6 +27,7 @@
     6.4  #include <xen/errno.h>
     6.5  #include <xen/mm.h>
     6.6  #include <xen/perfc.h>
     6.7 +#include <asm/current.h>
     6.8  #include <asm/processor.h>
     6.9  #include <asm/regs.h>
    6.10  #include <asm/x86_emulate.h>
     7.1 --- a/xen/arch/x86/x86_64/asm-offsets.c	Thu Jun 02 20:28:16 2005 +0000
     7.2 +++ b/xen/arch/x86/x86_64/asm-offsets.c	Thu Jun 02 20:46:08 2005 +0000
     7.3 @@ -7,6 +7,7 @@
     7.4  #include <xen/config.h>
     7.5  #include <xen/perfc.h>
     7.6  #include <xen/sched.h>
     7.7 +#include <asm/fixmap.h>
     7.8  #include <asm/hardirq.h>
     7.9  
    7.10  #define DEFINE(_sym, _val) \
     8.1 --- a/xen/common/kernel.c	Thu Jun 02 20:28:16 2005 +0000
     8.2 +++ b/xen/common/kernel.c	Thu Jun 02 20:46:08 2005 +0000
     8.3 @@ -13,6 +13,7 @@
     8.4  #include <xen/errno.h>
     8.5  #include <xen/compile.h>
     8.6  #include <xen/sched.h>
     8.7 +#include <asm/current.h>
     8.8  
     8.9  void cmdline_parse(char *cmdline)
    8.10  {
     9.1 --- a/xen/include/xen/event.h	Thu Jun 02 20:28:16 2005 +0000
     9.2 +++ b/xen/include/xen/event.h	Thu Jun 02 20:46:08 2005 +0000
     9.3 @@ -11,6 +11,7 @@
     9.4  
     9.5  #include <xen/config.h>
     9.6  #include <xen/sched.h>
     9.7 +#include <xen/smp.h>
     9.8  #include <asm/bitops.h>
     9.9  
    9.10  /*
    10.1 --- a/xen/include/xen/sched.h	Thu Jun 02 20:28:16 2005 +0000
    10.2 +++ b/xen/include/xen/sched.h	Thu Jun 02 20:46:08 2005 +0000
    10.3 @@ -9,8 +9,6 @@
    10.4  #include <xen/smp.h>
    10.5  #include <public/xen.h>
    10.6  #include <public/dom0_ops.h>
    10.7 -#include <xen/list.h>
    10.8 -#include <xen/spinlock.h>
    10.9  #include <xen/grant_table.h>
   10.10  #include <asm/domain.h>
   10.11