ChangeSet 1.1653, 2005/06/02 22:25:05+01:00, cl349@xxxxxxxxxxxxxxxxxxxx
Many files:
More include cleanups towards "include where it's used".
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
arch/x86/cpu/common.c | 1 +
arch/x86/genapic/bigsmp.c | 1 +
arch/x86/genapic/default.c | 1 +
arch/x86/genapic/es7000.c | 1 +
arch/x86/genapic/summit.c | 1 +
arch/x86/irq.c | 1 +
arch/x86/microcode.c | 1 +
arch/x86/nmi.c | 1 +
arch/x86/physdev.c | 1 +
arch/x86/smp.c | 1 +
arch/x86/smpboot.c | 1 +
arch/x86/vmx_io.c | 1 +
arch/x86/vmx_vmcs.c | 1 +
arch/x86/x86_32/domain_page.c | 1 +
arch/x86/x86_32/mm.c | 1 +
arch/x86/x86_32/traps.c | 1 +
arch/x86/x86_64/mm.c | 1 +
arch/x86/x86_64/traps.c | 1 +
common/dom0_ops.c | 1 +
common/dom_mem_ops.c | 1 +
common/event_channel.c | 1 +
common/multicall.c | 1 +
drivers/char/console.c | 1 +
include/asm-x86/shadow.h | 1 +
include/asm-x86/smp.h | 1 -
include/xen/softirq.h | 1 +
26 files changed, 25 insertions(+), 1 deletion(-)
diff -Nru a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c
--- a/xen/arch/x86/cpu/common.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/cpu/common.c 2005-06-02 18:04:23 -04:00
@@ -3,6 +3,7 @@
#include <xen/string.h>
#include <xen/delay.h>
#include <xen/smp.h>
+#include <asm/current.h>
#include <asm/processor.h>
#include <asm/i387.h>
#include <asm/msr.h>
diff -Nru a/xen/arch/x86/genapic/bigsmp.c b/xen/arch/x86/genapic/bigsmp.c
--- a/xen/arch/x86/genapic/bigsmp.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/genapic/bigsmp.c 2005-06-02 18:04:23 -04:00
@@ -5,6 +5,7 @@
#define APIC_DEFINITION 1
#include <xen/config.h>
#include <xen/cpumask.h>
+#include <asm/current.h>
#include <asm/mpspec.h>
#include <asm/genapic.h>
#include <asm/fixmap.h>
diff -Nru a/xen/arch/x86/genapic/default.c b/xen/arch/x86/genapic/default.c
--- a/xen/arch/x86/genapic/default.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/genapic/default.c 2005-06-02 18:04:23 -04:00
@@ -4,6 +4,7 @@
#define APIC_DEFINITION 1
#include <xen/config.h>
#include <xen/cpumask.h>
+#include <asm/current.h>
#include <asm/mpspec.h>
#include <asm/mach-default/mach_apicdef.h>
#include <asm/genapic.h>
diff -Nru a/xen/arch/x86/genapic/es7000.c b/xen/arch/x86/genapic/es7000.c
--- a/xen/arch/x86/genapic/es7000.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/genapic/es7000.c 2005-06-02 18:04:23 -04:00
@@ -4,6 +4,7 @@
#define APIC_DEFINITION 1
#include <xen/config.h>
#include <xen/cpumask.h>
+#include <asm/current.h>
#include <asm/mpspec.h>
#include <asm/genapic.h>
#include <asm/fixmap.h>
diff -Nru a/xen/arch/x86/genapic/summit.c b/xen/arch/x86/genapic/summit.c
--- a/xen/arch/x86/genapic/summit.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/genapic/summit.c 2005-06-02 18:04:23 -04:00
@@ -4,6 +4,7 @@
#define APIC_DEFINITION 1
#include <xen/config.h>
#include <xen/cpumask.h>
+#include <asm/current.h>
#include <asm/mpspec.h>
#include <asm/genapic.h>
#include <asm/fixmap.h>
diff -Nru a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/irq.c 2005-06-02 18:04:23 -04:00
@@ -11,6 +11,7 @@
#include <xen/irq.h>
#include <xen/perfc.h>
#include <xen/sched.h>
+#include <asm/current.h>
#include <asm/smpboot.h>
irq_desc_t irq_desc[NR_IRQS];
diff -Nru a/xen/arch/x86/microcode.c b/xen/arch/x86/microcode.c
--- a/xen/arch/x86/microcode.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/microcode.c 2005-06-02 18:04:23 -04:00
@@ -77,6 +77,7 @@
#include <xen/smp.h>
#include <xen/spinlock.h>
+#include <asm/current.h>
#include <asm/msr.h>
#include <asm/uaccess.h>
#include <asm/processor.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:04:23 -04:00
+++ b/xen/arch/x86/nmi.c 2005-06-02 18:04:23 -04:00
@@ -22,6 +22,7 @@
#include <xen/sched.h>
#include <xen/console.h>
#include <xen/smp.h>
+#include <asm/current.h>
#include <asm/mc146818rtc.h>
#include <asm/msr.h>
#include <asm/mpspec.h>
diff -Nru a/xen/arch/x86/physdev.c b/xen/arch/x86/physdev.c
--- a/xen/arch/x86/physdev.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/physdev.c 2005-06-02 18:04:23 -04:00
@@ -6,6 +6,7 @@
#include <xen/sched.h>
#include <xen/irq.h>
#include <xen/event.h>
+#include <asm/current.h>
#include <asm/smpboot.h>
#include <public/xen.h>
#include <public/physdev.h>
diff -Nru a/xen/arch/x86/smp.c b/xen/arch/x86/smp.c
--- a/xen/arch/x86/smp.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/smp.c 2005-06-02 18:04:23 -04:00
@@ -14,6 +14,7 @@
#include <xen/delay.h>
#include <xen/perfc.h>
#include <xen/spinlock.h>
+#include <asm/current.h>
#include <asm/smp.h>
#include <asm/mc146818rtc.h>
#include <asm/flushtlb.h>
diff -Nru a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/smpboot.c 2005-06-02 18:04:23 -04:00
@@ -40,6 +40,7 @@
#include <xen/sched.h>
#include <xen/irq.h>
#include <xen/delay.h>
+#include <asm/current.h>
#include <asm/mc146818rtc.h>
#include <asm/desc.h>
#include <asm/div64.h>
diff -Nru a/xen/arch/x86/vmx_io.c b/xen/arch/x86/vmx_io.c
--- a/xen/arch/x86/vmx_io.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/vmx_io.c 2005-06-02 18:04:23 -04:00
@@ -23,6 +23,7 @@
#include <xen/errno.h>
#include <xen/trace.h>
+#include <asm/current.h>
#include <asm/cpufeature.h>
#include <asm/processor.h>
#include <asm/msr.h>
diff -Nru a/xen/arch/x86/vmx_vmcs.c b/xen/arch/x86/vmx_vmcs.c
--- a/xen/arch/x86/vmx_vmcs.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/vmx_vmcs.c 2005-06-02 18:04:23 -04:00
@@ -23,6 +23,7 @@
#include <xen/lib.h>
#include <xen/errno.h>
+#include <asm/current.h>
#include <asm/cpufeature.h>
#include <asm/processor.h>
#include <asm/msr.h>
diff -Nru a/xen/arch/x86/x86_32/domain_page.c
b/xen/arch/x86/x86_32/domain_page.c
--- a/xen/arch/x86/x86_32/domain_page.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/x86_32/domain_page.c 2005-06-02 18:04:23 -04:00
@@ -15,6 +15,7 @@
#include <xen/sched.h>
#include <xen/mm.h>
#include <xen/perfc.h>
+#include <asm/current.h>
#include <asm/domain_page.h>
#include <asm/flushtlb.h>
#include <asm/hardirq.h>
diff -Nru a/xen/arch/x86/x86_32/mm.c b/xen/arch/x86/x86_32/mm.c
--- a/xen/arch/x86/x86_32/mm.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/x86_32/mm.c 2005-06-02 18:04:23 -04:00
@@ -22,6 +22,7 @@
#include <xen/lib.h>
#include <xen/init.h>
#include <xen/mm.h>
+#include <asm/current.h>
#include <asm/page.h>
#include <asm/flushtlb.h>
#include <asm/fixmap.h>
diff -Nru a/xen/arch/x86/x86_32/traps.c b/xen/arch/x86/x86_32/traps.c
--- a/xen/arch/x86/x86_32/traps.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/x86_32/traps.c 2005-06-02 18:04:23 -04:00
@@ -6,6 +6,7 @@
#include <xen/console.h>
#include <xen/mm.h>
#include <xen/irq.h>
+#include <asm/current.h>
#include <asm/flushtlb.h>
#ifdef CONFIG_VMX
diff -Nru a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c
--- a/xen/arch/x86/x86_64/mm.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/x86_64/mm.c 2005-06-02 18:04:23 -04:00
@@ -22,6 +22,7 @@
#include <xen/init.h>
#include <xen/mm.h>
#include <xen/sched.h>
+#include <asm/current.h>
#include <asm/asm_defns.h>
#include <asm/page.h>
#include <asm/flushtlb.h>
diff -Nru a/xen/arch/x86/x86_64/traps.c b/xen/arch/x86/x86_64/traps.c
--- a/xen/arch/x86/x86_64/traps.c 2005-06-02 18:04:23 -04:00
+++ b/xen/arch/x86/x86_64/traps.c 2005-06-02 18:04:23 -04:00
@@ -8,6 +8,7 @@
#include <xen/irq.h>
#include <xen/console.h>
#include <xen/sched.h>
+#include <asm/current.h>
#include <asm/flushtlb.h>
#include <asm/msr.h>
diff -Nru a/xen/common/dom0_ops.c b/xen/common/dom0_ops.c
--- a/xen/common/dom0_ops.c 2005-06-02 18:04:23 -04:00
+++ b/xen/common/dom0_ops.c 2005-06-02 18:04:23 -04:00
@@ -18,6 +18,7 @@
#include <xen/trace.h>
#include <xen/console.h>
#include <public/sched_ctl.h>
+#include <asm/current.h>
extern long arch_do_dom0_op(dom0_op_t *op, dom0_op_t *u_dom0_op);
extern void arch_getdomaininfo_ctxt(
diff -Nru a/xen/common/dom_mem_ops.c b/xen/common/dom_mem_ops.c
--- a/xen/common/dom_mem_ops.c 2005-06-02 18:04:23 -04:00
+++ b/xen/common/dom_mem_ops.c 2005-06-02 18:04:23 -04:00
@@ -14,6 +14,7 @@
#include <xen/sched.h>
#include <xen/event.h>
#include <xen/shadow.h>
+#include <asm/current.h>
#include <asm/domain_page.h>
#include <asm/hardirq.h>
diff -Nru a/xen/common/event_channel.c b/xen/common/event_channel.c
--- a/xen/common/event_channel.c 2005-06-02 18:04:23 -04:00
+++ b/xen/common/event_channel.c 2005-06-02 18:04:23 -04:00
@@ -22,6 +22,7 @@
#include <xen/sched.h>
#include <xen/event.h>
#include <xen/irq.h>
+#include <asm/current.h>
#include <public/xen.h>
#include <public/event_channel.h>
diff -Nru a/xen/common/multicall.c b/xen/common/multicall.c
--- a/xen/common/multicall.c 2005-06-02 18:04:23 -04:00
+++ b/xen/common/multicall.c 2005-06-02 18:04:23 -04:00
@@ -10,6 +10,7 @@
#include <xen/sched.h>
#include <xen/event.h>
#include <xen/multicall.h>
+#include <asm/current.h>
#include <asm/hardirq.h>
struct mc_state mc_state[NR_CPUS];
diff -Nru a/xen/drivers/char/console.c b/xen/drivers/char/console.c
--- a/xen/drivers/char/console.c 2005-06-02 18:04:23 -04:00
+++ b/xen/drivers/char/console.c 2005-06-02 18:04:23 -04:00
@@ -19,6 +19,7 @@
#include <xen/keyhandler.h>
#include <xen/mm.h>
#include <xen/delay.h>
+#include <asm/current.h>
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|