From patchwork Tue Jun 15 12:51:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jes Sorensen X-Patchwork-Id: 55658 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F336FB7D47 for ; Tue, 15 Jun 2010 22:55:20 +1000 (EST) Received: from localhost ([127.0.0.1]:40130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOVfi-00044f-AX for incoming@patchwork.ozlabs.org; Tue, 15 Jun 2010 08:55:18 -0400 Received: from [140.186.70.92] (port=53331 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOVcX-0002Ye-P8 for qemu-devel@nongnu.org; Tue, 15 Jun 2010 08:52:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOVcW-0008TN-EX for qemu-devel@nongnu.org; Tue, 15 Jun 2010 08:52:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15498) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOVcW-0008TD-3m for qemu-devel@nongnu.org; Tue, 15 Jun 2010 08:52:00 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5FCpx9v026785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Jun 2010 08:51:59 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5FCpMbG029172; Tue, 15 Jun 2010 08:51:53 -0400 From: Jes.Sorensen@redhat.com To: mtosatti@redhat.com Date: Tue, 15 Jun 2010 14:51:14 +0200 Message-Id: <1276606278-24268-4-git-send-email-Jes.Sorensen@redhat.com> In-Reply-To: <1276606278-24268-1-git-send-email-Jes.Sorensen@redhat.com> References: <1276606278-24268-1-git-send-email-Jes.Sorensen@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: jan.kiszka@siemens.com, qemu-devel@nongnu.org, Jes Sorensen Subject: [Qemu-devel] [PATCH 3/7] time_drift_fix is x86 only, rather than !ia64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Jes Sorensen time_drift_fix is x86 only, rather than !ia64, to allow 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++;