Patchwork [3/7] time_drift_fix is x86 only, rather than !ia64

login
register
mail settings
Submitter Jes Sorensen
Date June 15, 2010, 11:04 a.m.
Message ID <1276599879-22749-4-git-send-email-Jes.Sorensen@redhat.com>
Download mbox | patch
Permalink /patch/55639/
State New
Headers show

Comments

Jes Sorensen - June 15, 2010, 11:04 a.m.
From: Jes Sorensen <Jes.Sorensen@redhat.com>

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 <Jes.Sorensen@redhat.com>
---
 hw/i8259.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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++;