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 Sivaraj > --- > arc

[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 ++- arch/powerpc/platforms/cell/smp.c| 3