Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271576
b: refs/heads/master
c: 8541034
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed Sep 6, 2011
1 parent 111f4e4 commit a4a4631
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4099818842abd98ef2b18a8ac7a2e2ad3bc3d7c2
refs/heads/master: 85410340e0d0224c78c7d40a3ac7e1b3e9670cf1
4 changes: 2 additions & 2 deletions trunk/drivers/iommu/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int iommu_map(struct iommu_domain *domain, unsigned long iova,
{
size_t size;

size = 0x1000UL << gfp_order;
size = PAGE_SIZE << gfp_order;

BUG_ON(!IS_ALIGNED(iova | paddr, size));

Expand All @@ -112,7 +112,7 @@ int iommu_unmap(struct iommu_domain *domain, unsigned long iova, int gfp_order)
{
size_t size;

size = 0x1000UL << gfp_order;
size = PAGE_SIZE << gfp_order;

BUG_ON(!IS_ALIGNED(iova, size));

Expand Down

0 comments on commit a4a4631

Please sign in to comment.