Re: [PATCH v3] powerpc: make ALTIVEC select PPC_FPU

2021-04-29 Thread Michael Ellerman
On Wed, 21 Apr 2021 14:06:47 -0700, Randy Dunlap wrote: > On a kernel config with ALTIVEC=y and PPC_FPU not set/enabled, > there are build errors: > > drivers/cpufreq/pmac32-cpufreq.c:262:2: error: implicit declaration of > function 'enable_kernel_fp' [-Werror,-Wimplicit-function-declaration] >

[PATCH v3] powerpc: make ALTIVEC select PPC_FPU

2021-04-21 Thread Randy Dunlap
On a kernel config with ALTIVEC=y and PPC_FPU not set/enabled, there are build errors: drivers/cpufreq/pmac32-cpufreq.c:262:2: error: implicit declaration of function 'enable_kernel_fp' [-Werror,-Wimplicit-function-declaration] enable_kernel_fp(); ../arch/powerpc/lib/sstep.c: In functi