]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/lib: only build ldstfp.o when CONFIG_PPC_FPU is set
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 13 May 2019 10:00:15 +0000 (10:00 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 May 2019 02:08:11 +0000 (12:08 +1000)
commit4508a5987c8fdfdd13948ee634513eb8369a6b4f
treec5150a76a853cb742ce695eff5fb36779c46beb2
parent5ee0d4b68b20806e67a954788afca74f8e449f56
powerpc/lib: only build ldstfp.o when CONFIG_PPC_FPU is set

The entire code in ldstfp.o is enclosed into #ifdef CONFIG_PPC_FPU,
so there is no point in building it when this config is not selected.

Fixes: 652d24aca05a ("powerpc: mtmsrd not defined")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/Makefile
arch/powerpc/lib/ldstfp.S