From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoFLY-0007Xb-RT for qemu-devel@nongnu.org; Sun, 16 Jun 2013 11:58:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoFLX-0007BK-2l for qemu-devel@nongnu.org; Sun, 16 Jun 2013 11:58:28 -0400 Received: from cantor2.suse.de ([195.135.220.15]:60049 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoFLW-0007BE-LB for qemu-devel@nongnu.org; Sun, 16 Jun 2013 11:58:26 -0400 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 18500A5077 for ; Sun, 16 Jun 2013 17:58:26 +0200 (CEST) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 16 Jun 2013 17:57:49 +0200 Message-Id: <1371398269-6213-30-git-send-email-afaerber@suse.de> In-Reply-To: <1371398269-6213-1-git-send-email-afaerber@suse.de> References: <1371398269-6213-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH qom-cpu v2 29/29] timer/arm_mptimer: Build arm_mptimer only once List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= Since cpu_single_cpu is CPUState it no longer depends on CPUArchState. Signed-off-by: Andreas F=C3=A4rber --- hw/timer/Makefile.objs | 2 +- hw/timer/arm_mptimer.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/timer/Makefile.objs b/hw/timer/Makefile.objs index 32b5c1a..eca5905 100644 --- a/hw/timer/Makefile.objs +++ b/hw/timer/Makefile.objs @@ -1,4 +1,5 @@ common-obj-$(CONFIG_ARM_TIMER) +=3D arm_timer.o +common-obj-$(CONFIG_ARM_MPTIMER) +=3D arm_mptimer.o common-obj-$(CONFIG_CADENCE) +=3D cadence_ttc.o common-obj-$(CONFIG_DS1338) +=3D ds1338.o common-obj-$(CONFIG_HPET) +=3D hpet.o @@ -25,5 +26,4 @@ obj-$(CONFIG_PXA2XX) +=3D pxa2xx_timer.o obj-$(CONFIG_SH4) +=3D sh_timer.o obj-$(CONFIG_TUSB6010) +=3D tusb6010.o =20 -obj-$(CONFIG_ARM_MPTIMER) +=3D arm_mptimer.o obj-$(CONFIG_MC146818RTC) +=3D mc146818rtc.o diff --git a/hw/timer/arm_mptimer.c b/hw/timer/arm_mptimer.c index 1aa300b..1d93cc3 100644 --- a/hw/timer/arm_mptimer.c +++ b/hw/timer/arm_mptimer.c @@ -21,6 +21,7 @@ =20 #include "hw/sysbus.h" #include "qemu/timer.h" +#include "qom/cpu.h" =20 /* This device implements the per-cpu private timer and watchdog block * which is used in both the ARM11MPCore and Cortex-A9MP. --=20 1.8.1.4