projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8e17c1
)
csky/smp: Fixup boot failed when CONFIG_SMP
author
Guo Ren
<guoren@linux.alibaba.com>
Tue, 7 Jan 2020 04:21:25 +0000
(12:21 +0800)
committer
Guo Ren
<guoren@linux.alibaba.com>
Fri, 21 Feb 2020 07:43:24 +0000
(15:43 +0800)
If we use a non-ipi-support interrupt controller, it will cause panic here.
We should let cpu up and work with CONFIG_SMP, when we use a non-ipi intc.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/kernel/smp.c
patch
|
blob
|
history
diff --git
a/arch/csky/kernel/smp.c
b/arch/csky/kernel/smp.c
index
b753d38
..
0bb0954
100644
(file)
--- a/
arch/csky/kernel/smp.c
+++ b/
arch/csky/kernel/smp.c
@@
-120,7
+120,7
@@
void __init setup_smp_ipi(void)
int rc;
if (ipi_irq == 0)
-
panic("%s IRQ mapping failed\n", __func__)
;
+
return
;
rc = request_percpu_irq(ipi_irq, handle_ipi, "IPI Interrupt",
&ipi_dummy_dev);