summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/Makefile
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-11-13 11:25:27 +0000
committerMarkos Chandras <markos.chandras@imgtec.com>2015-02-17 15:37:19 +0000
commit4e0748f5beb92a14f6be4716938cbf27177ecd07 (patch)
tree7d48121081c57a306d400423e12c051170f4003a /arch/mips/lib/Makefile
parent98a833c1fa4de0695830f77b2d13fd86693da298 (diff)
downloadblackbird-op-linux-4e0748f5beb92a14f6be4716938cbf27177ecd07.tar.gz
blackbird-op-linux-4e0748f5beb92a14f6be4716938cbf27177ecd07.zip
MIPS: Use generic checksum functions for MIPS R6
The following instructions have been removed from MIPS R6 ulw, ulh, swl, lwr, lwl, swr. However, all of them are used in the MIPS specific checksum implementation. As a result of which, we will use the generic checksum on MIPS R6 Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/lib/Makefile')
-rw-r--r--arch/mips/lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile
index eeddc58802e1..1e9e900cd3c3 100644
--- a/arch/mips/lib/Makefile
+++ b/arch/mips/lib/Makefile
@@ -8,6 +8,7 @@ lib-y += bitops.o csum_partial.o delay.o memcpy.o memset.o \
obj-y += iomap.o
obj-$(CONFIG_PCI) += iomap-pci.o
+lib-$(CONFIG_GENERIC_CSUM) := $(filter-out csum_partial.o, $(lib-y))
obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o
obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o
OpenPOWER on IntegriCloud