Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110377
b: refs/heads/master
c: 279b0bb
h: refs/heads/master
i:
  110375: afefac8
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Sep 19, 2008
1 parent 2133c05 commit db5928c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 5e51900be6c15488b80343d3c3e62d4d605ba9a9
refs/heads/master: 279b0bbba2bb647348ad90e183b3960aa99eccfd
5 changes: 2 additions & 3 deletions trunk/arch/x86/kernel/cpu/mtrr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,11 +1218,10 @@ static int __init mtrr_cleanup(unsigned address_bits)

memset(range, 0, sizeof(range));
extra_remove_size = 0;
if (mtrr_tom2) {
extra_remove_base = 1 << (32 - PAGE_SHIFT);
extra_remove_base = 1 << (32 - PAGE_SHIFT);
if (mtrr_tom2)
extra_remove_size =
(mtrr_tom2 >> PAGE_SHIFT) - extra_remove_base;
}
nr_range = x86_get_mtrr_mem_range(range, 0, extra_remove_base,
extra_remove_size);
range_sums = sum_ranges(range, nr_range);
Expand Down

0 comments on commit db5928c

Please sign in to comment.