diff options
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce_amd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_amd.c b/arch/x86/kernel/cpu/mcheck/mce_amd.c index 9ce64955559d..9af7bd74828b 100644 --- a/arch/x86/kernel/cpu/mcheck/mce_amd.c +++ b/arch/x86/kernel/cpu/mcheck/mce_amd.c | |||
@@ -253,7 +253,9 @@ void mce_amd_feature_init(struct cpuinfo_x86 *c) | |||
253 | } | 253 | } |
254 | 254 | ||
255 | mce_threshold_block_init(&b, offset); | 255 | mce_threshold_block_init(&b, offset); |
256 | mce_threshold_vector = amd_threshold_interrupt; | 256 | |
257 | if (mce_threshold_vector != amd_threshold_interrupt) | ||
258 | mce_threshold_vector = amd_threshold_interrupt; | ||
257 | } | 259 | } |
258 | } | 260 | } |
259 | } | 261 | } |