summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/smp.h
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-02-22 20:41:35 +0100
committerPalmer Dabbelt <palmer@sifive.com>2019-03-04 19:40:36 +0100
commite15c6e37066e9ce6705f22b71e60ca2d78db8d45 (patch)
treea1fae221eda1cd98a3d61d6236980f9452640283 /arch/riscv/include/asm/smp.h
parentriscv: remove the HAVE_KPROBES option (diff)
downloadlinux-e15c6e37066e9ce6705f22b71e60ca2d78db8d45.tar.xz
linux-e15c6e37066e9ce6705f22b71e60ca2d78db8d45.zip
RISC-V: Do not wait indefinitely in __cpu_up
In SMP path, __cpu_up waits for other CPU to come online indefinitely. This is wrong as other CPU might be disabled in machine mode and possible CPU is set to the cpus present in DT. Introduce a completion variable and waits only for a second. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/include/asm/smp.h')
0 files changed, 0 insertions, 0 deletions