projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2aba4f
)
xsm: Use mapped IRQ not PIRQ in unmap_domain_pirq
author
Daniel De Graaf
<dgdegra@tycho.nsa.gov>
Thu, 2 Feb 2012 15:18:50 +0000
(15:18 +0000)
committer
Daniel De Graaf
<dgdegra@tycho.nsa.gov>
Thu, 2 Feb 2012 15:18:50 +0000
(15:18 +0000)
XSM permissions are defined in terms of IRQs, not PIRQs; use the
correct number when checking permission in unmap_domain_pirq.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/physdev.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/physdev.c
b/xen/arch/x86/physdev.c
index a3ceb7d84f69a203315f0148153ded4486759976..05fff9e8c861b69909f6d52704bf500bb371fdc2 100644
(file)
--- a/
xen/arch/x86/physdev.c
+++ b/
xen/arch/x86/physdev.c
@@
-239,7
+239,7
@@
int physdev_unmap_pirq(domid_t domid, int pirq)
if ( !IS_PRIV_FOR(current->domain, d) )
goto free_domain;
- ret = xsm_irq_permission(d,
pirq
, 0);
+ ret = xsm_irq_permission(d,
domain_pirq_to_irq(d, pirq)
, 0);
if ( ret )
goto free_domain;