Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158096
b: refs/heads/master
c: bad1cac
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed Sep 3, 2009
1 parent 808cfad commit e58c968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c8c143cdc95ebe50fd962917556e25e8912997b
refs/heads/master: bad1cac28a707c69301a4d0612da9ccbecd51953
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,7 @@ static int iommu_map_page(struct protection_domain *dom,
bus_addr = PAGE_ALIGN(bus_addr);
phys_addr = PAGE_ALIGN(phys_addr);

/* only support 512GB address spaces for now */
if (bus_addr > IOMMU_MAP_SIZE_L3 || !(prot & IOMMU_PROT_MASK))
if (!(prot & IOMMU_PROT_MASK))
return -EINVAL;

pte = alloc_pte(dom, bus_addr, NULL, GFP_KERNEL);
Expand Down

0 comments on commit e58c968

Please sign in to comment.