mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
cpu: make cpu-qom.h only include-able from cpu.h
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>
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#define QEMU_ALPHA_CPU_QOM_H
|
||||
|
||||
#include "qom/cpu.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#define TYPE_ALPHA_CPU "alpha-cpu"
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define QEMU_LM32_CPU_QOM_H
|
||||
|
||||
#include "qom/cpu.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#define TYPE_LM32_CPU "lm32-cpu"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define QEMU_S390_CPU_QOM_H
|
||||
|
||||
#include "qom/cpu.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#define TYPE_S390_CPU "s390-cpu"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#define QEMU_UC32_CPU_QOM_H
|
||||
|
||||
#include "qom/cpu.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#define TYPE_UNICORE32_CPU "unicore32-cpu"
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#define QEMU_XTENSA_CPU_QOM_H
|
||||
|
||||
#include "qom/cpu.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#define TYPE_XTENSA_CPU "xtensa-cpu"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user