projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86/cleanups' into x86/trampoline
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
kernel
/
cpu
/
amd.c
diff --git
a/arch/x86/kernel/cpu/amd.c
b/arch/x86/kernel/cpu/amd.c
index ba5f62f45f01e136e849894076917684ffcd8c40..a8b4d91b8394d5cd6d9ebc19106f9fa426330b78 100644
(file)
--- a/
arch/x86/kernel/cpu/amd.c
+++ b/
arch/x86/kernel/cpu/amd.c
@@
-148,7
+148,7
@@
static void __cpuinit amd_k7_smp_check(struct cpuinfo_x86 *c)
{
#ifdef CONFIG_SMP
/* calling is from identify_secondary_cpu() ? */
- if (
c->cpu_index == boot_cpu_id
)
+ if (
!c->cpu_index
)
return;
/*