aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mtrr
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-05-12 20:40:39 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 04:55:10 -0400
commit8004dd965b13b01a96def054d420f6df7ff22d53 (patch)
treee45157833daa023f579daff7ef907548ea6c9a7e /arch/x86/kernel/cpu/mtrr
parentb79cd8f1268bab57ff85b19d131f7f23deab2dee (diff)
x86: amd opteron TOM2 mask val fix
there is a typo in the mask value, need to remove that extra 0, to avoid 4bit clearing. Signed-off-by: Yinghal Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr')
-rw-r--r--arch/x86/kernel/cpu/mtrr/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c
index a83f5cd7888..509bd3d9eac 100644
--- a/arch/x86/kernel/cpu/mtrr/generic.c
+++ b/arch/x86/kernel/cpu/mtrr/generic.c
@@ -233,7 +233,7 @@ void __init get_mtrr_state(void)
233 mtrr_tom2 = high; 233 mtrr_tom2 = high;
234 mtrr_tom2 <<= 32; 234 mtrr_tom2 <<= 32;
235 mtrr_tom2 |= low; 235 mtrr_tom2 |= low;
236 mtrr_tom2 &= 0xffffff8000000ULL; 236 mtrr_tom2 &= 0xffffff800000ULL;
237 } 237 }
238 if (mtrr_show) { 238 if (mtrr_show) {
239 int high_width; 239 int high_width;