From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49962 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OR31W-0000Gv-ER for qemu-devel@nongnu.org; Tue, 22 Jun 2010 08:56:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OR31V-0003fl-Dg for qemu-devel@nongnu.org; Tue, 22 Jun 2010 08:56:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20748) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OR31V-0003fc-6T for qemu-devel@nongnu.org; Tue, 22 Jun 2010 08:56:17 -0400 From: Jes.Sorensen@redhat.com Date: Tue, 22 Jun 2010 14:56:00 +0200 Message-Id: <1277211364-12451-4-git-send-email-Jes.Sorensen@redhat.com> In-Reply-To: <1277211364-12451-1-git-send-email-Jes.Sorensen@redhat.com> References: <1277211364-12451-1-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] [PATCH 3/7] time_drift_fix is x86 only, rather than !ia64 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: avi@redhat.com Cc: Jes Sorensen , qemu-devel@nongnu.org, kvm@vger.kernel.org From: Jes Sorensen time_drift_fix is only present on x86, not just on !ia64. This allows the code to build for other archs, like MIPS. Signed-off-by: Jes Sorensen --- hw/i8259.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/i8259.c b/hw/i8259.c index a8ae069..e89d831 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -237,7 +237,7 @@ int pic_read_irq(PicState2 *s) if (irq >= 0) { pic_intack(&s->pics[0], irq); -#ifndef TARGET_IA64 +#ifdef TARGET_I386 if (time_drift_fix && irq == 0) { extern int64_t timer_acks, timer_ints_to_push; timer_acks++; -- 1.7.0.1