提交 398cf2ab 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

i386: Tune AMD Fam10h/11h like K8

This mainly changes the nops for alternative, so not very revolutionary.
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册