powerpc/smp: Use IS_ENABLED() to avoid #ifdef
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Mar 2020 11:20:20 +0000 (22:20 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Mar 2020 14:15:09 +0000 (01:15 +1100)
commitc72e8da06250390bb7759399a32fa0ab6f84e6d1
tree042b6cb001465efe2d9be331312aa03317db2a32
parent4b4d181d63518334070a877ba789211bde77da9e
powerpc/smp: Use IS_ENABLED() to avoid #ifdef

We can avoid the #ifdef by using IS_ENABLED() in the existing
condition check.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200313112020.28235-2-mpe@ellerman.id.au
arch/powerpc/kernel/smp.c