diff options
author | Andi Kleen <ak@suse.de> | 2007-10-17 12:04:41 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:16:58 -0400 |
commit | 99741faa34b342e6a0b327efb6c28c1a693b7307 (patch) | |
tree | 96511da980c0ccee55bc3f62a8108711881deac1 /arch/x86/kernel/setup_64.c | |
parent | 20d225b991c88d9f46f6169be3cfc113ea2bf82d (diff) |
x86: Use string instruction memcpy on AMD Fam11h
[ tglx: arch/x86 adaptation ]
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 5b5e0781d5b6..5a19f0cc5b67 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -604,7 +604,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c) | |||
604 | level = cpuid_eax(1); | 604 | level = cpuid_eax(1); |
605 | if (c->x86 == 15 && ((level >= 0x0f48 && level < 0x0f50) || level >= 0x0f58)) | 605 | if (c->x86 == 15 && ((level >= 0x0f48 && level < 0x0f50) || level >= 0x0f58)) |
606 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); | 606 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); |
607 | if (c->x86 == 0x10) | 607 | if (c->x86 == 0x10 || c->x86 == 0x11) |
608 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); | 608 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); |
609 | 609 | ||
610 | /* Enable workaround for FXSAVE leak */ | 610 | /* Enable workaround for FXSAVE leak */ |