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
MIPS: paravirt: Fix undefined reference to smp_bootstrap
[firefly-linux-kernel-4.4.55.git]
/
arch
/
mips
/
include
/
asm
/
mach-paravirt
/
kernel-entry-init.h
diff --git
a/arch/mips/include/asm/mach-paravirt/kernel-entry-init.h
b/arch/mips/include/asm/mach-paravirt/kernel-entry-init.h
index 2f82bfa3a77347155a1526dde873387d01dcf138..c9f5769dfc8fca9d10c1ce4fe12ff62d3c4c8c66 100644
(file)
--- a/
arch/mips/include/asm/mach-paravirt/kernel-entry-init.h
+++ b/
arch/mips/include/asm/mach-paravirt/kernel-entry-init.h
@@
-11,11
+11,13
@@
#define CP0_EBASE $15, 1
.macro kernel_entry_setup
+#ifdef CONFIG_SMP
mfc0 t0, CP0_EBASE
andi t0, t0, 0x3ff # CPUNum
beqz t0, 1f
# CPUs other than zero goto smp_bootstrap
j smp_bootstrap
+#endif /* CONFIG_SMP */
1:
.endm