diff options
Diffstat (limited to 'arch/i386/kernel/cpu/amd.c')
-rw-r--r-- | arch/i386/kernel/cpu/amd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/kernel/cpu/amd.c b/arch/i386/kernel/cpu/amd.c index 4fec702afd7e..6f47eeeb93ea 100644 --- a/arch/i386/kernel/cpu/amd.c +++ b/arch/i386/kernel/cpu/amd.c | |||
@@ -280,6 +280,10 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c) | |||
280 | 280 | ||
281 | if (c->x86 == 0x10 && !force_mwait) | 281 | if (c->x86 == 0x10 && !force_mwait) |
282 | clear_bit(X86_FEATURE_MWAIT, c->x86_capability); | 282 | clear_bit(X86_FEATURE_MWAIT, c->x86_capability); |
283 | |||
284 | /* K6s reports MCEs but don't actually have all the MSRs */ | ||
285 | if (c->x86 < 6) | ||
286 | clear_bit(X86_FEATURE_MCE, c->x86_capability); | ||
283 | } | 287 | } |
284 | 288 | ||
285 | static unsigned int __cpuinit amd_size_cache(struct cpuinfo_x86 * c, unsigned int size) | 289 | static unsigned int __cpuinit amd_size_cache(struct cpuinfo_x86 * c, unsigned int size) |