Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85855
b: refs/heads/master
c: b83ebf5
h: refs/heads/master
i:
  85853: 5847f7e
  85851: 8003712
  85847: 074be7d
  85839: 21f8bb5
  85823: fe80c8b
v: v3
  • Loading branch information
Robert P. J. Day authored and David S. Miller committed Feb 13, 2008
1 parent 7ccaf30 commit 4078436
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: b3dd5b82560eef53a537e409f50261d0b33c75ce
refs/heads/master: b83ebf566b64d3702c6b50dbee2052623cd55ce5
3 changes: 1 addition & 2 deletions trunk/arch/sparc64/kernel/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,11 @@ int iommu_table_init(struct iommu *iommu, int tsbsize,
/* Allocate and initialize the dummy page which we
* set inactive IO PTEs to point to.
*/
iommu->dummy_page = __get_free_pages(GFP_KERNEL, 0);
iommu->dummy_page = get_zeroed_page(GFP_KERNEL);
if (!iommu->dummy_page) {
printk(KERN_ERR "IOMMU: Error, gfp(dummy_page) failed.\n");
goto out_free_map;
}
memset((void *)iommu->dummy_page, 0, PAGE_SIZE);
iommu->dummy_page_pa = (unsigned long) __pa(iommu->dummy_page);

/* Now allocate and setup the IOMMU page table itself. */
Expand Down

0 comments on commit 4078436

Please sign in to comment.