Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311736
b: refs/heads/master
c: 8f53dc7
h: refs/heads/master
v: v3
  • Loading branch information
Hiroshi DOYU authored and Joerg Roedel committed Jul 2, 2012
1 parent db1cc27 commit 580bd30
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: ac1534a55d1e87d59a21c09c570605933b551480
refs/heads/master: 8f53dc724a83a0082184fa27df80c25c7df47340
4 changes: 2 additions & 2 deletions trunk/drivers/iommu/tegra-smmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,13 +550,13 @@ static int alloc_pdir(struct smmu_as *as)
return 0;

as->pte_count = devm_kzalloc(smmu->dev,
sizeof(as->pte_count[0]) * SMMU_PDIR_COUNT, GFP_KERNEL);
sizeof(as->pte_count[0]) * SMMU_PDIR_COUNT, GFP_ATOMIC);
if (!as->pte_count) {
dev_err(smmu->dev,
"failed to allocate smmu_device PTE cunters\n");
return -ENOMEM;
}
as->pdir_page = alloc_page(GFP_KERNEL | __GFP_DMA);
as->pdir_page = alloc_page(GFP_ATOMIC | __GFP_DMA);
if (!as->pdir_page) {
dev_err(smmu->dev,
"failed to allocate smmu_device page directory\n");
Expand Down

0 comments on commit 580bd30

Please sign in to comment.