Re: [PATCH v1] powerpc/process: Replace #ifdef CONFIG_KALLSYMS by IS_ENABLED()

2020-09-17 Thread Michael Ellerman
On Mon, 17 Aug 2020 05:46:44 + (UTC), Christophe Leroy wrote: > The #ifdef CONFIG_KALLSYMS encloses some printk which can > compile in all cases. > > Replace by IS_ENABLED(). Applied to powerpc/next. [1/1] powerpc/process: Replace #ifdef CONFIG_KALLSYMS by IS_ENABLED()

[PATCH v1] powerpc/process: Replace #ifdef CONFIG_KALLSYMS by IS_ENABLED()

2020-08-16 Thread Christophe Leroy
The #ifdef CONFIG_KALLSYMS encloses some printk which can compile in all cases. Replace by IS_ENABLED(). Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/process.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/kernel/process.c