summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorPaolo Bonzini2017-03-03 12:01:16 +0100
committerPaolo Bonzini2017-03-14 13:28:18 +0100
commitd2528bdc19988db73056be75dd9bf52eeee620f5 (patch)
treec6669e8d626fe613a883672a9615bfafb073881a /include/sysemu
parentqemu-timer: fix off-by-one (diff)
downloadqemu-d2528bdc19988db73056be75dd9bf52eeee620f5.tar.gz
qemu-d2528bdc19988db73056be75dd9bf52eeee620f5.tar.xz
qemu-d2528bdc19988db73056be75dd9bf52eeee620f5.zip
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 'include/sysemu')
-rw-r--r--include/sysemu/cpus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/cpus.h b/include/sysemu/cpus.h
index a73b5d4bce..e521a91661 100644
--- a/include/sysemu/cpus.h
+++ b/include/sysemu/cpus.h
@@ -1,6 +1,8 @@
#ifndef QEMU_CPUS_H
#define QEMU_CPUS_H
+#include "qemu/timer.h"
+
/* cpus.c */
bool qemu_in_vcpu_thread(void);
void qemu_init_cpu_loop(void);