[PATCH 2/2] powerpc: add ALTIVEC support to lib/ when PPC_FPU not set
Segher Boessenkool
segher at kernel.crashing.org
Mon Apr 19 23:32:09 AEST 2021
Hi!
On Sun, Apr 18, 2021 at 01:17:26PM -0700, Randy Dunlap wrote:
> Add ldstfp.o to the Makefile for CONFIG_ALTIVEC and add
> externs for get_vr() and put_vr() in lib/sstep.c to fix the
> build errors.
> obj-$(CONFIG_PPC_FPU) += ldstfp.o
> +obj-$(CONFIG_ALTIVEC) += ldstfp.o
It is probably a good idea to split ldstfp.S into two, one for each of
the two configuration options?
Segher
More information about the Linuxppc-dev
mailing list