Commit 398cf2ab authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

i386: Tune AMD Fam10h/11h like K8

This mainly changes the nops for alternative, so not very revolutionary.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0bd8acd1
...@@ -231,6 +231,9 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c) ...@@ -231,6 +231,9 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
switch (c->x86) { switch (c->x86) {
case 15: case 15:
/* Use K8 tuning for Fam10h and Fam11h */
case 0x10:
case 0x11:
set_bit(X86_FEATURE_K8, c->x86_capability); set_bit(X86_FEATURE_K8, c->x86_capability);
break; break;
case 6: case 6:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment