From: Jack Lange Date: Wed, 25 Mar 2009 21:55:58 +0000 (-0500) Subject: fixed apic seastar ack X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=83d70dd81c80079c767cc99b0f7349d58b8b44e4 fixed apic seastar ack --- diff --git a/palacios/src/devices/apic.c b/palacios/src/devices/apic.c index a26f231..7424b55 100644 --- a/palacios/src/devices/apic.c +++ b/palacios/src/devices/apic.c @@ -341,12 +341,12 @@ static int apic_do_eoi(struct apic_state * apic) { #ifdef CRAY_XT - if ((((i * 8) + j) == 238) || - (((i * 8) + j) == 239)) { - PrintError("Acking IRQ %d\n", ((i * 8) + j)); + if ((isr_irq == 238) || + (isr_irq == 239)) { + PrintError("Acking IRQ %d\n", isr_irq); } - if (((i * 8) + j) == 238) { + if (isr_irq == 238) { V3_ACK_IRQ(238); } #endif