powerpc/irq: use IS_ENABLED() in check_stack_overflow()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 20 Feb 2020 11:51:40 +0000 (22:51 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Mar 2020 11:44:29 +0000 (22:44 +1100)
commit0dec6e1cca7eee6d5616f982efab2ff3b3ea1f9f
treec02da5c0b3b6c0e0d1458f9369235d3ceb5bd097
parent84ab14893054751a2b3adba725834183b872a17f
powerpc/irq: use IS_ENABLED() in check_stack_overflow()

Instead of #ifdef, use IS_ENABLED(CONFIG_DEBUG_STACKOVERFLOW).
This enable GCC to check for code validity even when the option
is not selected.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200220115141.2707-4-mpe@ellerman.id.au
arch/powerpc/kernel/irq.c