]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/process: Replace #ifdef CONFIG_KALLSYMS by IS_ENABLED()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 17 Aug 2020 05:46:44 +0000 (05:46 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Sep 2020 12:13:34 +0000 (22:13 +1000)
commite19ae1642b60f900f145575594cbc6f1dd9fd1c7
tree2633e8097a76afa80113081431fc99e257727f47
parentaaa7eb92b02229def4e4539e164192cf5c8e7662
powerpc/process: Replace #ifdef CONFIG_KALLSYMS by IS_ENABLED()

The #ifdef CONFIG_KALLSYMS encloses some printk which can
compile in all cases.

Replace by IS_ENABLED().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/2d89732a9062b2cf2651728804e4b8f6c9b9358e.1597643164.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/process.c