direct-io.hg

changeset 10373:8b81c4e82f3e

[IA64] fix debug=y build: update ASSERT(acktype)

action->acktype is no longer defined here. Dereference
desc->action->acktype to get to it.

Signed-off-by: Aron Griffis <aron@hp.com>
author awilliam@xenbuild.aw
date Sat Jun 03 14:42:13 2006 -0600 (2006-06-03)
parents 09982b366f93
children 2c7c715ad185
files xen/arch/ia64/xen/irq.c
line diff
     1.1 --- a/xen/arch/ia64/xen/irq.c	Sat Jun 03 14:41:24 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/irq.c	Sat Jun 03 14:42:13 2006 -0600
     1.3 @@ -440,7 +440,7 @@ int pirq_guest_eoi(struct domain *d, int
     1.4      if ( test_and_clear_bit(irq, &d->pirq_mask) &&
     1.5           (--((irq_guest_action_t *)desc->action)->in_flight == 0) )
     1.6      {
     1.7 -        ASSERT(action->ack_type == ACKTYPE_UNMASK);
     1.8 +        ASSERT(((irq_guest_action_t*)desc->action)->ack_type == ACKTYPE_UNMASK);
     1.9          desc->handler->end(irq);
    1.10      }
    1.11      spin_unlock_irq(&desc->lock);