powerpc/lib/Makefile: Don't pull in quad.o for 32-bit kernels
authorJames Clarke <jrtc27@jrtc27.com>
Sun, 18 Feb 2018 15:54:44 +0000 (15:54 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 21 Aug 2019 12:48:11 +0000 (13:48 +0100)
commit73a9bd487f76cbcdfd01ab94ee18c099f1913f54
tree623afbeb465ba74565b838d3e28bab8c283c51b0
parent61ae5aa1ecee2809a8bd86c1e5073ffd49691d77
powerpc/lib/Makefile: Don't pull in quad.o for 32-bit kernels

The functions exported by quad.o are only used when guarded by
__powerpc64__ and so are unused on 32-bit kernels. Moreover, their
implementations make use of instructions which will cause an illegal
instruction error on 32-bit processors, and are not accepted by the
assembler for SPE processors.

Fixes: 31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults")
Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Gbp-Pq: Topic bugfix/powerpc
Gbp-Pq: Name powerpc-lib-makefile-don-t-pull-in-quad.o-for-32-bit.patch
arch/powerpc/lib/Makefile