Re: [PATCH 2/2] powerpc/smp: Use IS_ENABLED() to avoid #ifdef

2020-03-13 Thread Srikar Dronamraju
* Michael Ellerman [2020-03-13 22:20:20]: > We can avoid the #ifdef by using IS_ENABLED() in the existing > condition check. > Looks good to me. Reviewed-by: Srikar Dronamraju > Signed-off-by: Michael Ellerman > --- > arch/powerpc/kernel/smp.c | 5 ++--- > 1 file changed, 2 insertions(+),

[PATCH 2/2] powerpc/smp: Use IS_ENABLED() to avoid #ifdef

2020-03-13 Thread Michael Ellerman
We can avoid the #ifdef by using IS_ENABLED() in the existing condition check. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/smp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index