Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100172
b: refs/heads/master
c: 32b23e9
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jul 14, 2008
1 parent 96b4146 commit a500c8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 11369f356b66d363a615fde2c5526962f7683674
refs/heads/master: 32b23e9a7331fce57eb0af52e19e8409fdef831b
7 changes: 2 additions & 5 deletions trunk/arch/x86/kernel/pci-gart_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,8 @@ static __init int init_k8_gatt(struct agp_kern_info *info)
/* need to map that range */
end_pfn = (aper_base>>PAGE_SHIFT) + (aper_size>>PAGE_SHIFT);
if (end_pfn > max_low_pfn_mapped) {
start_pfn = max_low_pfn_mapped;
max_low_pfn_mapped = init_memory_mapping(start_pfn<<PAGE_SHIFT,
end_pfn<<PAGE_SHIFT);
if (max_pfn_mapped < max_low_pfn_mapped)
max_pfn_mapped = max_low_pfn_mapped;
start_pfn = (aper_base>>PAGE_SHIFT);
init_memory_mapping(start_pfn<<PAGE_SHIFT, end_pfn<<PAGE_SHIFT);
}
return 0;

Expand Down

0 comments on commit a500c8b

Please sign in to comment.