summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu
diff options
context:
space:
mode:
authorYinghai Lu2008-05-13 02:40:39 +0200
committerThomas Gleixner2008-05-25 10:55:10 +0200
commit8004dd965b13b01a96def054d420f6df7ff22d53 (patch)
treee45157833daa023f579daff7ef907548ea6c9a7e /arch/x86/kernel/cpu
parentx86: make e820.c to have common functions (diff)
downloadkernel-qcow2-linux-8004dd965b13b01a96def054d420f6df7ff22d53.tar.gz
kernel-qcow2-linux-8004dd965b13b01a96def054d420f6df7ff22d53.tar.xz
kernel-qcow2-linux-8004dd965b13b01a96def054d420f6df7ff22d53.zip
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')
-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 a83f5cd78885..509bd3d9eacd 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)
mtrr_tom2 = high;
mtrr_tom2 <<= 32;
mtrr_tom2 |= low;
- mtrr_tom2 &= 0xffffff8000000ULL;
+ mtrr_tom2 &= 0xffffff800000ULL;
}
if (mtrr_show) {
int high_width;