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)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 26 Sep 2019 12:19:06 +0000 (13:19 +0100)
commitce46638a2187b4f6776ec42ad51e81f4d518b6a2
tree41a01d808c5e8b3f9f1996a41b58182f9db0be7b
parentf955c860760181600a911cc1015d4b04e08fd4bd
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