From patchwork Tue Jun 15 12:51:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/7] time_drift_fix is x86 only, rather than !ia64 From: Jes Sorensen X-Patchwork-Id: 55658 Message-Id: <1276606278-24268-4-git-send-email-Jes.Sorensen@redhat.com> To: mtosatti@redhat.com Cc: jan.kiszka@siemens.com, qemu-devel@nongnu.org, Jes Sorensen Date: Tue, 15 Jun 2010 14:51:14 +0200 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++;