Re: [PATCH v1] powerpc/process: Replace an #if defined(CONFIG_4xx) || defined(CONFIG_BOOKE) by IS_ENABLED()

2020-09-17 Thread Michael Ellerman
On Mon, 17 Aug 2020 05:46:43 + (UTC), Christophe Leroy wrote: > The #if defined(CONFIG_4xx) || defined(CONFIG_BOOKE) encloses some > printk which can be compiled in all cases. > > Replace by IS_ENABLED(). Applied to powerpc/next. [1/1] powerpc/process: Replace an #if defined(CONFIG_4xx) ||

[PATCH v1] powerpc/process: Replace an #if defined(CONFIG_4xx) || defined(CONFIG_BOOKE) by IS_ENABLED()

2020-08-16 Thread Christophe Leroy
The #if defined(CONFIG_4xx) || defined(CONFIG_BOOKE) encloses some printk which can be compiled in all cases. Replace by IS_ENABLED(). Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/process.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git