]> git.proxmox.com Git - qemu.git/commitdiff
timer/arm_mptimer: Build arm_mptimer only once
authorAndreas Färber <afaerber@suse.de>
Sun, 16 Jun 2013 15:10:28 +0000 (17:10 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 9 Jul 2013 19:33:02 +0000 (21:33 +0200)
Since current_cpu is CPUState it no longer depends on CPUARMState.

Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/timer/Makefile.objs
hw/timer/arm_mptimer.c

index 32b5c1a9babc2dd9ef08f48fb4c5bdc7b3d8952c..eca590570e0a79f1093834e1247c4423756315fc 100644 (file)
@@ -1,4 +1,5 @@
 common-obj-$(CONFIG_ARM_TIMER) += arm_timer.o
+common-obj-$(CONFIG_ARM_MPTIMER) += arm_mptimer.o
 common-obj-$(CONFIG_CADENCE) += cadence_ttc.o
 common-obj-$(CONFIG_DS1338) += ds1338.o
 common-obj-$(CONFIG_HPET) += hpet.o
@@ -25,5 +26,4 @@ obj-$(CONFIG_PXA2XX) += pxa2xx_timer.o
 obj-$(CONFIG_SH4) += sh_timer.o
 obj-$(CONFIG_TUSB6010) += tusb6010.o
 
-obj-$(CONFIG_ARM_MPTIMER) += arm_mptimer.o
 obj-$(CONFIG_MC146818RTC) += mc146818rtc.o
index fbc69c94b782487d06b48845642092b55ff10633..0ceb240490a4d65064fa81ce40287dc8b510a300 100644 (file)
@@ -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.