x86: fixes after emuirq changes

Signed-off-by: Wei Wang <wei.wang2@amd.com>
This commit is contained in:
Keir Fraser committed 2010-11-29 17:44:32 +00:00
1 parent 3604b2eafb
commit 9e1a3415b7
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -1860,7 +1860,8 @@ int unmap_domain_pirq_emuirq(struct domain *d, int pirq)
}
d->arch.pirq_emuirq[pirq] = IRQ_UNBOUND;
d->arch.emuirq_pirq[emuirq] = IRQ_UNBOUND;
if ( emuirq != IRQ_PT )
d->arch.emuirq_pirq[emuirq] = IRQ_UNBOUND;
done:
return ret;
+2 -1
View File
@@ -236,7 +236,8 @@ static int physdev_unmap_pirq(struct physdev_unmap_pirq *unmap)
spin_lock(&d->event_lock);
ret = unmap_domain_pirq_emuirq(d, unmap->pirq);
spin_unlock(&d->event_lock);
goto free_domain;
if ( unmap->domid == DOMID_SELF || ret )
goto free_domain;
}
ret = -EPERM;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.