aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
parent33bef0b9948b85000221d32c758d9d4a9276aaaf (diff)
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')
-rw-r--r--include/qemu/timer.h1
-rw-r--r--include/sysemu/cpus.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/qemu/timer.h b/include/qemu/timer.h
index 26e628584c..91cd8c8a84 100644
--- a/include/qemu/timer.h
+++ b/include/qemu/timer.h
@@ -4,7 +4,6 @@
#include "qemu-common.h"
#include "qemu/notify.h"
#include "qemu/host-utils.h"
-#include "sysemu/cpus.h"
#define NANOSECONDS_PER_SECOND 1000000000LL
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);