While adding support for guest domU IRQs, I noticed that release_irq did
not clear the IRQ_GUEST bit in the IRQ's desc->status field.
This is probably not a big deal since not many situations are likely to arise
where an IRQ is sometimes host and sometimes guest.
Signed-off-by: Eric Trudeau <etrudeau@broadcom.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
action = desc->action;
desc->action = NULL;
desc->status |= IRQ_DISABLED;
+ desc->status &= ~IRQ_GUEST;
spin_lock(&gic.lock);
desc->handler->shutdown(desc);