diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-15 14:32:19 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-19 16:42:27 +0200 |
commit | 0774831d081d17dd63caee95d710f786fc652e67 (patch) | |
tree | c075c0044aedc13743f6dd1378072d15a8f6fa2a /hw | |
parent | b4c1c6fc61721b8a7cb4e30b7780f17591aaaa17 (diff) | |
download | qemu-0774831d081d17dd63caee95d710f786fc652e67.tar.gz qemu-0774831d081d17dd63caee95d710f786fc652e67.tar.bz2 qemu-0774831d081d17dd63caee95d710f786fc652e67.zip |
alpha: include cpu-qom.h in files that require AlphaCPU
This will keep things working when cpu.h will not be included
indirectly almost everywhere (either directly or through
qemu-common.h).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/alpha/alpha_sys.h | 1 | ||||
-rw-r--r-- | hw/alpha/pci.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/hw/alpha/alpha_sys.h b/hw/alpha/alpha_sys.h index e11025b4be..fcaeb2b7aa 100644 --- a/hw/alpha/alpha_sys.h +++ b/hw/alpha/alpha_sys.h @@ -3,6 +3,7 @@ #ifndef HW_ALPHA_H #define HW_ALPHA_H 1 +#include "target-alpha/cpu-qom.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "hw/ide.h" diff --git a/hw/alpha/pci.c b/hw/alpha/pci.c index 5baa0eaf15..8dde637bfe 100644 --- a/hw/alpha/pci.c +++ b/hw/alpha/pci.c @@ -8,7 +8,6 @@ #include "qemu/osdep.h" #include "qemu-common.h" -#include "cpu.h" #include "alpha_sys.h" #include "qemu/log.h" #include "sysemu/sysemu.h" |