Skip to content

Commit

Permalink
exec,dump,i386,ppc,s390x: don't include exec/cpu-all.h explicitly
Browse files Browse the repository at this point in the history
All but a handful of files include exec/cpu-all.h via cpu.h only.
As these files already include cpu.h, let's just drop the additional
include.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170913132417.24384-2-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
  • Loading branch information
davidhildenbrand authored and cohuck committed Sep 19, 2017
1 parent a8fbbf1 commit 7f579e2
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion dump.c
Expand Up @@ -15,7 +15,6 @@
#include "qemu/cutils.h"
#include "elf.h"
#include "cpu.h"
#include "exec/cpu-all.h"
#include "exec/hwaddr.h"
#include "monitor/monitor.h"
#include "sysemu/kvm.h"
Expand Down
1 change: 0 additions & 1 deletion exec.c
Expand Up @@ -56,7 +56,6 @@
#endif

#endif
#include "exec/cpu-all.h"
#include "qemu/rcu_queue.h"
#include "qemu/main-loop.h"
#include "translate-all.h"
Expand Down
1 change: 0 additions & 1 deletion target/i386/arch_dump.c
Expand Up @@ -13,7 +13,6 @@

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/cpu-all.h"
#include "sysemu/dump.h"
#include "elf.h"
#include "sysemu/memory_mapping.h"
Expand Down
1 change: 0 additions & 1 deletion target/i386/arch_memory_mapping.c
Expand Up @@ -13,7 +13,6 @@

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/cpu-all.h"
#include "sysemu/memory_mapping.h"

/* PAE Paging or IA-32e Paging */
Expand Down
1 change: 0 additions & 1 deletion target/i386/svm_helper.c
Expand Up @@ -19,7 +19,6 @@

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/cpu-all.h"
#include "exec/helper-proto.h"
#include "exec/exec-all.h"
#include "exec/cpu_ldst.h"
Expand Down
1 change: 0 additions & 1 deletion target/ppc/arch_dump.c
Expand Up @@ -15,7 +15,6 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "elf.h"
#include "exec/cpu-all.h"
#include "sysemu/dump.h"
#include "sysemu/kvm.h"

Expand Down
1 change: 0 additions & 1 deletion target/s390x/arch_dump.c
Expand Up @@ -15,7 +15,6 @@
#include "cpu.h"
#include "internal.h"
#include "elf.h"
#include "exec/cpu-all.h"
#include "sysemu/dump.h"


Expand Down

0 comments on commit 7f579e2

Please sign in to comment.