Patchwork [27/28] vmstate: remove unneeded includes from target-*/machine.c

login
register
mail settings
Submitter Juan Quintela
Date Oct. 26, 2011, 8:16 p.m.
Message ID <4812e98ba91a54ecf8e821c7155fdcb997a3cb4d.1319658750.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/122001/
State New
Headers show

Comments

Juan Quintela - Oct. 26, 2011, 8:16 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 target-alpha/machine.c |    1 -
 target-arm/machine.c   |    1 -
 target-cris/machine.c  |    1 -
 target-i386/machine.c  |    6 ------
 target-lm32/machine.c  |    1 -
 target-mips/machine.c  |    3 ---
 target-ppc/machine.c   |    2 --
 target-sparc/machine.c |    4 ----
 8 files changed, 0 insertions(+), 19 deletions(-)

Patch

diff --git a/target-alpha/machine.c b/target-alpha/machine.c
index 8d32d7c..156cb74 100644
--- a/target-alpha/machine.c
+++ b/target-alpha/machine.c
@@ -1,5 +1,4 @@ 
 #include "hw/hw.h"
-#include "hw/boards.h"

 static int get_fpcr(QEMUFile *f, void *opaque, size_t size)
 {
diff --git a/target-arm/machine.c b/target-arm/machine.c
index 8703b8a..836d9ed 100644
--- a/target-arm/machine.c
+++ b/target-arm/machine.c
@@ -1,5 +1,4 @@ 
 #include "hw/hw.h"
-#include "hw/boards.h"

 static bool feature_vfp_needed(void *opaque)
 {
diff --git a/target-cris/machine.c b/target-cris/machine.c
index 49b227d..0f732d3 100644
--- a/target-cris/machine.c
+++ b/target-cris/machine.c
@@ -1,5 +1,4 @@ 
 #include "hw/hw.h"
-#include "hw/boards.h"

 static const VMStateDescription vmstate_tlbset = {
     .name = "cpu/tlbset",
diff --git a/target-i386/machine.c b/target-i386/machine.c
index 612e7de..91f5147 100644
--- a/target-i386/machine.c
+++ b/target-i386/machine.c
@@ -1,10 +1,4 @@ 
 #include "hw/hw.h"
-#include "hw/boards.h"
-#include "hw/pc.h"
-#include "hw/isa.h"
-
-#include "cpu.h"
-#include "kvm.h"

 static const VMStateDescription vmstate_segment = {
     .name = "segment",
diff --git a/target-lm32/machine.c b/target-lm32/machine.c
index c31b744..60b4b29 100644
--- a/target-lm32/machine.c
+++ b/target-lm32/machine.c
@@ -1,5 +1,4 @@ 
 #include "hw/hw.h"
-#include "hw/boards.h"

 const VMStateDescription vmstate_cpu = {
     .name = "cpu",
diff --git a/target-mips/machine.c b/target-mips/machine.c
index 988a5c9..d6d7830 100644
--- a/target-mips/machine.c
+++ b/target-mips/machine.c
@@ -1,7 +1,4 @@ 
 #include "hw/hw.h"
-#include "hw/boards.h"
-
-#include "cpu.h"

 static const VMStateDescription vmstate_tc = {
     .name = "tc",
diff --git a/target-ppc/machine.c b/target-ppc/machine.c
index 0114733..1664d32 100644
--- a/target-ppc/machine.c
+++ b/target-ppc/machine.c
@@ -1,6 +1,4 @@ 
 #include "hw/hw.h"
-#include "hw/boards.h"
-#include "kvm.h"

 static const VMStateDescription vmstate_tlb = {
     .name = "tlb",
diff --git a/target-sparc/machine.c b/target-sparc/machine.c
index e3e57b5..080fc6a 100644
--- a/target-sparc/machine.c
+++ b/target-sparc/machine.c
@@ -1,8 +1,4 @@ 
 #include "hw/hw.h"
-#include "hw/boards.h"
-#include "qemu-timer.h"
-
-#include "cpu.h"

 static const VMStateDescription vmstate_cpu_timer = {
     .name = "cpu_timer",