From 000dd35defd36014f6b46b4dab77139c1488637c Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Tue, 22 Jun 2010 14:25:41 +0200 Subject: [PATCH] time_drift_fix is x86 only, rather than !ia64 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 Signed-off-by: Avi Kivity --- hw/i8259.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i8259.c b/hw/i8259.c index a8ae069bd3..e89d831ee4 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++; -- 2.11.4.GIT