Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110421
b: refs/heads/master
c: 42fde7a
h: refs/heads/master
i:
  110419: 6f71608
v: v3
  • Loading branch information
Yinghai Lu authored and H. Peter Anvin committed Oct 5, 2008
1 parent e51cc05 commit fc4d287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 8bb39311bf461243f6cade3644764d848516dd23
refs/heads/master: 42fde7a05c5d6dc76e518ae12091ea897b1c132b
4 changes: 3 additions & 1 deletion trunk/arch/x86/kernel/cpu/mtrr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1273,12 +1273,14 @@ static int __init mtrr_cleanup(unsigned address_bits)
size_base = to_size_factor(size_base, &size_factor),
start_base = range_state[i].base_pfn << (PAGE_SHIFT - 10);
start_base = to_size_factor(start_base, &start_factor),
type = range_state[i].type;

printk(KERN_DEBUG "reg %d, base: %ld%cB, range: %ld%cB, type %s\n",
i, start_base, start_factor,
size_base, size_factor,
(type == MTRR_TYPE_UNCACHABLE) ? "UC" :
((type == MTRR_TYPE_WRBACK) ? "WB" : "Other")
((type == MTRR_TYPE_WRPROT) ? "WP" :
((type == MTRR_TYPE_WRBACK) ? "WB" : "Other"))
);
}

Expand Down

0 comments on commit fc4d287

Please sign in to comment.