diff options
Diffstat (limited to 'arch/i386/kernel/cpu/mcheck/k7.c')
-rw-r--r-- | arch/i386/kernel/cpu/mcheck/k7.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/mcheck/k7.c b/arch/i386/kernel/cpu/mcheck/k7.c index f9fa4142551e..eef63e3630c2 100644 --- a/arch/i386/kernel/cpu/mcheck/k7.c +++ b/arch/i386/kernel/cpu/mcheck/k7.c | |||
@@ -72,12 +72,12 @@ void amd_mcheck_init(struct cpuinfo_x86 *c) | |||
72 | u32 l, h; | 72 | u32 l, h; |
73 | int i; | 73 | int i; |
74 | 74 | ||
75 | machine_check_vector = k7_machine_check; | ||
76 | wmb(); | ||
77 | |||
78 | if (!cpu_has(c, X86_FEATURE_MCE)) | 75 | if (!cpu_has(c, X86_FEATURE_MCE)) |
79 | return; | 76 | return; |
80 | 77 | ||
78 | machine_check_vector = k7_machine_check; | ||
79 | wmb(); | ||
80 | |||
81 | printk (KERN_INFO "Intel machine check architecture supported.\n"); | 81 | printk (KERN_INFO "Intel machine check architecture supported.\n"); |
82 | rdmsr (MSR_IA32_MCG_CAP, l, h); | 82 | rdmsr (MSR_IA32_MCG_CAP, l, h); |
83 | if (l & (1<<8)) /* Control register present ? */ | 83 | if (l & (1<<8)) /* Control register present ? */ |