commit | 0dec6e1cca7eee6d5616f982efab2ff3b3ea1f9f | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@c-s.fr> | Thu Feb 20 22:51:40 2020 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Mar 04 22:44:29 2020 +1100 |
tree | c02da5c0b3b6c0e0d1458f9369235d3ceb5bd097 | |
parent | 84ab14893054751a2b3adba725834183b872a17f [diff] |
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