aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/arm_mptimer.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-16 17:10:28 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-09 21:33:02 +0200
commitde6db419e5cfe604464a7612b5a5f9214d0af837 (patch)
tree996284bfb6aaec241632eda4a22753a637c007dc /hw/timer/arm_mptimer.c
parent2b927571ccdb79deda74ba84ef493e6cb37eacbe (diff)
downloadqemu-arm-de6db419e5cfe604464a7612b5a5f9214d0af837.tar.gz
timer/arm_mptimer: Build arm_mptimer only once
Since current_cpu is CPUState it no longer depends on CPUARMState. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/timer/arm_mptimer.c')
-rw-r--r--hw/timer/arm_mptimer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/timer/arm_mptimer.c b/hw/timer/arm_mptimer.c
index fbc69c94b7..0ceb240490 100644
--- a/hw/timer/arm_mptimer.c
+++ b/hw/timer/arm_mptimer.c
@@ -21,6 +21,7 @@
#include "hw/sysbus.h"
#include "qemu/timer.h"
+#include "qom/cpu.h"
/* This device implements the per-cpu private timer and watchdog block
* which is used in both the ARM11MPCore and Cortex-A9MP.