diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-11-13 12:25:27 +0100 |
---|---|---|
committer | Markos Chandras <markos.chandras@imgtec.com> | 2015-02-17 16:37:19 +0100 |
commit | 4e0748f5beb92a14f6be4716938cbf27177ecd07 (patch) | |
tree | 7d48121081c57a306d400423e12c051170f4003a /arch/mips/lib | |
parent | MIPS: asm: asmmacro: Replace "add" instructions with "addu" (diff) | |
download | linux-4e0748f5beb92a14f6be4716938cbf27177ecd07.tar.xz 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')
-rw-r--r-- | arch/mips/lib/Makefile | 1 |
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 |