Skip to content

Commit

Permalink
i386: Tune AMD Fam10h/11h like K8
Browse files Browse the repository at this point in the history
This mainly changes the nops for alternative, so not very revolutionary.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jul 22, 2007
1 parent 0bd8acd commit 398cf2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/i386/kernel/cpu/amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 398cf2a

Please sign in to comment.