aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/amd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/amd.c')
-rw-r--r--arch/x86/kernel/cpu/amd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 34c3ad608dd4..e678ddeed030 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -678,9 +678,9 @@ static void init_amd_bd(struct cpuinfo_x86 *c)
678 * Disable it on the affected CPUs. 678 * Disable it on the affected CPUs.
679 */ 679 */
680 if ((c->x86_model >= 0x02) && (c->x86_model < 0x20)) { 680 if ((c->x86_model >= 0x02) && (c->x86_model < 0x20)) {
681 if (!rdmsrl_safe(0xc0011021, &value) && !(value & 0x1E)) { 681 if (!rdmsrl_safe(MSR_F15H_IC_CFG, &value) && !(value & 0x1E)) {
682 value |= 0x1E; 682 value |= 0x1E;
683 wrmsrl_safe(0xc0011021, value); 683 wrmsrl_safe(MSR_F15H_IC_CFG, value);
684 } 684 }
685 } 685 }
686} 686}