Re: [PATCH v1 1/4] powerpc/process: Remove useless #ifdef CONFIG_VSX

2020-09-17 Thread Michael Ellerman
On Mon, 17 Aug 2020 05:47:55 + (UTC), Christophe Leroy wrote: > cpu_has_feature(CPU_FTR_VSX) returns false when CONFIG_VSX is > not set. > > There is no need to enclose the test in an #ifdef CONFIG_VSX. > Remove it. Applied to powerpc/next. [1/4] powerpc/process: Remove useless #ifdef CONFIG

[PATCH v1 1/4] powerpc/process: Remove useless #ifdef CONFIG_VSX

2020-08-16 Thread Christophe Leroy
cpu_has_feature(CPU_FTR_VSX) returns false when CONFIG_VSX is not set. There is no need to enclose the test in an #ifdef CONFIG_VSX. Remove it. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/process.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/arc