diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index 33ef718f8cb5..675b3d6de10b 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -575,6 +575,8 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c) | |||
575 | level = cpuid_eax(1); | 575 | level = cpuid_eax(1); |
576 | if (c->x86 == 15 && ((level >= 0x0f48 && level < 0x0f50) || level >= 0x0f58)) | 576 | if (c->x86 == 15 && ((level >= 0x0f48 && level < 0x0f50) || level >= 0x0f58)) |
577 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); | 577 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); |
578 | if (c->x86 == 0x10) | ||
579 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); | ||
578 | 580 | ||
579 | /* Enable workaround for FXSAVE leak */ | 581 | /* Enable workaround for FXSAVE leak */ |
580 | if (c->x86 >= 6) | 582 | if (c->x86 >= 6) |