aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-03-03 12:01:16 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-14 13:28:18 +0100
commitd2528bdc19988db73056be75dd9bf52eeee620f5 (patch)
treec6669e8d626fe613a883672a9615bfafb073881a /hw
parent33bef0b9948b85000221d32c758d9d4a9276aaaf (diff)
downloadqemu-d2528bdc19988db73056be75dd9bf52eeee620f5.zip
qemu-d2528bdc19988db73056be75dd9bf52eeee620f5.tar.gz
qemu-d2528bdc19988db73056be75dd9bf52eeee620f5.tar.bz2
qemu-timer: do not include sysemu/cpus.h from util/qemu-timer.h
This dependency is the wrong way, and we will need util/qemu-timer.h from sysemu/cpus.h in the next patch. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/core/ptimer.c1
-rw-r--r--hw/ppc/pnv.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/core/ptimer.c b/hw/core/ptimer.c
index 59ccb00..7221c68 100644
--- a/hw/core/ptimer.c
+++ b/hw/core/ptimer.c
@@ -13,6 +13,7 @@
#include "sysemu/replay.h"
#include "sysemu/qtest.h"
#include "block/aio.h"
+#include "sysemu/cpus.h"
#define DELTA_ADJUST 1
#define DELTA_NO_ADJUST -1
diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c
index 09f0d22..3fa722a 100644
--- a/hw/ppc/pnv.c
+++ b/hw/ppc/pnv.c
@@ -21,6 +21,7 @@
#include "qapi/error.h"
#include "sysemu/sysemu.h"
#include "sysemu/numa.h"
+#include "sysemu/cpus.h"
#include "hw/hw.h"
#include "target/ppc/cpu.h"
#include "qemu/log.h"