xen/iommu: arm: Wire iommu DOMCTL for ARM

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Julien Grall authored and Ian Campbell committed 2015-05-08 15:41:59 +01:00
1 parent 4d9d3eeb7c
commit 25785da906
1 file changed
+10 -1
+10 -1
View File
@@ -109,7 +109,16 @@ long arch_do_domctl(struct xen_domctl *domctl, struct domain *d,
return 0;
}
default:
return subarch_do_domctl(domctl, d, u_domctl);
{
int rc;
rc = subarch_do_domctl(domctl, d, u_domctl);
if ( rc == -ENOSYS )
rc = iommu_do_domctl(domctl, d, u_domctl);
return rc;
}
}
}
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.