diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index 406074c46f1e..9086b38fbabe 100644 --- a/arch/x86/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c | |||
@@ -1273,12 +1273,14 @@ static int __init mtrr_cleanup(unsigned address_bits) | |||
1273 | size_base = to_size_factor(size_base, &size_factor), | 1273 | size_base = to_size_factor(size_base, &size_factor), |
1274 | start_base = range_state[i].base_pfn << (PAGE_SHIFT - 10); | 1274 | start_base = range_state[i].base_pfn << (PAGE_SHIFT - 10); |
1275 | start_base = to_size_factor(start_base, &start_factor), | 1275 | start_base = to_size_factor(start_base, &start_factor), |
1276 | type = range_state[i].type; | ||
1276 | 1277 | ||
1277 | printk(KERN_DEBUG "reg %d, base: %ld%cB, range: %ld%cB, type %s\n", | 1278 | printk(KERN_DEBUG "reg %d, base: %ld%cB, range: %ld%cB, type %s\n", |
1278 | i, start_base, start_factor, | 1279 | i, start_base, start_factor, |
1279 | size_base, size_factor, | 1280 | size_base, size_factor, |
1280 | (type == MTRR_TYPE_UNCACHABLE) ? "UC" : | 1281 | (type == MTRR_TYPE_UNCACHABLE) ? "UC" : |
1281 | ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other") | 1282 | ((type == MTRR_TYPE_WRPROT) ? "WP" : |
1283 | ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other")) | ||
1282 | ); | 1284 | ); |
1283 | } | 1285 | } |
1284 | 1286 | ||