projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d225b
)
x86: Use string instruction memcpy on AMD Fam11h
author
Andi Kleen
<ak@suse.de>
Wed, 17 Oct 2007 16:04:41 +0000
(18:04 +0200)
committer
Thomas Gleixner
<tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:16:58 +0000
(20:16 +0200)
[ tglx: arch/x86 adaptation ]
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/setup_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/setup_64.c
b/arch/x86/kernel/setup_64.c
index 5b5e0781d5b65f8619a4fbc580f2c6ceb24b6670..5a19f0cc5b6766c8c0ea3eed1164ec3605ac7c32 100644
(file)
--- a/
arch/x86/kernel/setup_64.c
+++ b/
arch/x86/kernel/setup_64.c
@@
-604,7
+604,7
@@
static void __cpuinit init_amd(struct cpuinfo_x86 *c)
level = cpuid_eax(1);
if (c->x86 == 15 && ((level >= 0x0f48 && level < 0x0f50) || level >= 0x0f58))
set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability);
- if (c->x86 == 0x10)
+ if (c->x86 == 0x10
|| c->x86 == 0x11
)
set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability);
/* Enable workaround for FXSAVE leak */