summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-06-22 14:25:41 +0200
committerAvi Kivity <avi@redhat.com>2010-06-22 15:40:16 +0300
commit000dd35defd36014f6b46b4dab77139c1488637c (patch)
tree15cf69ef2a73e81ec946c5c3d2be0985c0f14dcf
parenteb453b8c9db6327155ca171fa7644dc959218d85 (diff)
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 <Jes.Sorensen@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--hw/i8259.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i8259.c b/hw/i8259.c
index a8ae069bd..e89d831ee 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++;