From: Andi Kleen Date: Sun, 22 Jul 2007 09:12:35 +0000 (+0200) Subject: i386: Tune AMD Fam10h/11h like K8 X-Git-Tag: v2.6.23-rc1~29 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=398cf2abdb51fc96bc08f2a007b1aa25ba6adfba;p=linux-2.6-omap-h63xx.git i386: Tune AMD Fam10h/11h like K8 This mainly changes the nops for alternative, so not very revolutionary. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/cpu/amd.c b/arch/i386/kernel/cpu/amd.c index 815a5f0aa47..c7ba455d5ac 100644 --- a/arch/i386/kernel/cpu/amd.c +++ b/arch/i386/kernel/cpu/amd.c @@ -231,6 +231,9 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c) switch (c->x86) { case 15: + /* Use K8 tuning for Fam10h and Fam11h */ + case 0x10: + case 0x11: set_bit(X86_FEATURE_K8, c->x86_capability); break; case 6: