commit | 57886518a8cdd319a04f5ea06a5f7ffcb8a93120 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joro@8bytes.org> | Tue Jan 29 13:41:09 2013 +0100 |
committer | Joerg Roedel <joro@8bytes.org> | Wed Feb 06 10:47:05 2013 +0100 |
tree | 85de286abc27f32dd18ad4f9eb5488288e98e681 | |
parent | a8b8a88a9e3042d41326c854272c881664acba1c [diff] |
iommu: Check for valid pgsize_bitmap in iommu_map/unmap In case the page-size bitmap is zero the code path in iommu_map and iommu_unmap is undefined. Make it defined and return -ENODEV in this case. Signed-off-by: Joerg Roedel <joro@8bytes.org>