powerpc/lib: fix redundant inclusion of quad.o [Linux 5.3]

This Linux kernel change "powerpc/lib: fix redundant inclusion of quad.o" is included in the Linux 5.3 release. This change is authored by Christophe Leroy <christophe.leroy [at] c-s.fr> on Mon May 13 10:00:14 2019 +0000. The commit for this change in Linux stable tree is f8e0d0f (patch).

powerpc/lib: fix redundant inclusion of quad.o

quad.o is only for PPC64, and already included in obj64-y,
so it doesn't have to be in obj-y

Fixes: 31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/powerpc/lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile
index c55f9c2..17fce37 100644
--- a/arch/powerpc/lib/Makefile
+++ b/arch/powerpc/lib/Makefile
@@ -49,7 +49,7 @@ obj64-$(CONFIG_KPROBES_SANITY_TEST)   += test_emulate_step.o \
 obj-y          += checksum_$(BITS).o checksum_wrappers.o \
               string_$(BITS).o

-obj-y          += sstep.o ldstfp.o quad.o
+obj-y          += sstep.o ldstfp.o
 obj64-y            += quad.o

 obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o

Leave a Reply

Your email address will not be published. Required fields are marked *