projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bd8acd
)
i386: Tune AMD Fam10h/11h like K8
author
Andi Kleen
<ak@suse.de>
Sun, 22 Jul 2007 09:12:35 +0000
(11:12 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 18:03:38 +0000
(11:03 -0700)
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>
arch/i386/kernel/cpu/amd.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/amd.c
b/arch/i386/kernel/cpu/amd.c
index 815a5f0aa47416530cdf61658fbd91458b92f5e4..c7ba455d5ac77d97747f1c13a4f5ac6737bfb48d 100644
(file)
--- 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: