Re: [PATCH] powerpc/smp: Do not BUG_ON if invalid CPU during kick

2017-06-26 Thread Michael Ellerman
Santosh Sivaraj writes: > During secondary start, we do not need to BUG_ON if an invalid CPU number > is passed. We alreay print an error if secondary cannot be started, so ^ d > just return an error instead. > > Signed-off-by: Santosh

[PATCH] powerpc/smp: Do not BUG_ON if invalid CPU during kick

2017-06-24 Thread Santosh Sivaraj
During secondary start, we do not need to BUG_ON if an invalid CPU number is passed. We alreay print an error if secondary cannot be started, so just return an error instead. Signed-off-by: Santosh Sivaraj --- arch/powerpc/kernel/smp.c| 3 ++-