Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62415
b: refs/heads/master
c: e8f2041
h: refs/heads/master
i:
  62413: 682ea44
  62411: 473c5b8
  62407: b762a73
  62399: addb610
v: v3
  • Loading branch information
Muli Ben-Yehuda authored and Linus Torvalds committed Jul 22, 2007
1 parent 6991f29 commit 443b845
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: 8bcf77055cc88228263f936b2ecf69c017906cb2
refs/heads/master: e8f204147149e48d72e9c1e321ee72452169e34a
4 changes: 2 additions & 2 deletions trunk/arch/x86_64/kernel/pci-calgary.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,13 +806,13 @@ static void __init calgary_reserve_regions(struct pci_dev *dev)
iommu_range_reserve(tbl, bad_dma_address, EMERGENCY_PAGES);

/* avoid the BIOS/VGA first 640KB-1MB region */
/* for CalIOC2 - avoid the entire first 2MB */
/* for CalIOC2 - avoid the entire first MB */
if (is_calgary(dev->device)) {
start = (640 * 1024);
npages = ((1024 - 640) * 1024) >> PAGE_SHIFT;
} else { /* calioc2 */
start = 0;
npages = (2 * 1024 * 1024) >> PAGE_SHIFT;
npages = (1 * 1024 * 1024) >> PAGE_SHIFT;
}
iommu_range_reserve(tbl, start, npages);

Expand Down

0 comments on commit 443b845

Please sign in to comment.