Skip to content

Commit

Permalink
cpu: make cpu-qom.h only include-able from cpu.h
Browse files Browse the repository at this point in the history
Make cpu-qom.h so that it is only included from cpu.h.  Then there
is no need for it to include cpu.h again.

Later we will make cpu-qom.h target independent and we will _want_
to include it from elsewhere, but for now reduce the number of cases
to handle.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed May 19, 2016
1 parent f2937a3 commit 347b1a5
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion target-alpha/cpu-qom.h
Expand Up @@ -21,7 +21,6 @@
#define QEMU_ALPHA_CPU_QOM_H

#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_ALPHA_CPU "alpha-cpu"

Expand Down
1 change: 0 additions & 1 deletion target-arm/psci.c
Expand Up @@ -17,7 +17,6 @@
*/
#include "qemu/osdep.h"
#include <cpu.h>
#include <cpu-qom.h>
#include <exec/helper-proto.h>
#include <kvm-consts.h>
#include <sysemu/sysemu.h>
Expand Down
1 change: 0 additions & 1 deletion target-i386/cpu-qom.h
Expand Up @@ -21,7 +21,6 @@
#define QEMU_I386_CPU_QOM_H

#include "qom/cpu.h"
#include "cpu.h"
#include "qemu/notify.h"

#ifdef TARGET_X86_64
Expand Down
1 change: 0 additions & 1 deletion target-lm32/cpu-qom.h
Expand Up @@ -21,7 +21,6 @@
#define QEMU_LM32_CPU_QOM_H

#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_LM32_CPU "lm32-cpu"

Expand Down
1 change: 0 additions & 1 deletion target-ppc/cpu-qom.h
Expand Up @@ -21,7 +21,6 @@
#define QEMU_PPC_CPU_QOM_H

#include "qom/cpu.h"
#include "cpu.h"

#ifdef TARGET_PPC64
#define TYPE_POWERPC_CPU "powerpc64-cpu"
Expand Down
1 change: 0 additions & 1 deletion target-s390x/cpu-qom.h
Expand Up @@ -21,7 +21,6 @@
#define QEMU_S390_CPU_QOM_H

#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_S390_CPU "s390-cpu"

Expand Down
1 change: 0 additions & 1 deletion target-sparc/cpu-qom.h
Expand Up @@ -21,7 +21,6 @@
#define QEMU_SPARC_CPU_QOM_H

#include "qom/cpu.h"
#include "cpu.h"

#ifdef TARGET_SPARC64
#define TYPE_SPARC_CPU "sparc64-cpu"
Expand Down
1 change: 0 additions & 1 deletion target-unicore32/cpu-qom.h
Expand Up @@ -12,7 +12,6 @@
#define QEMU_UC32_CPU_QOM_H

#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_UNICORE32_CPU "unicore32-cpu"

Expand Down
1 change: 0 additions & 1 deletion target-xtensa/cpu-qom.h
Expand Up @@ -30,7 +30,6 @@
#define QEMU_XTENSA_CPU_QOM_H

#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_XTENSA_CPU "xtensa-cpu"

Expand Down

0 comments on commit 347b1a5

Please sign in to comment.