]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: simpler m68k and ColdFire CPU's can use generic csum code
authorGreg Ungerer <gerg@uclinux.org>
Tue, 18 Oct 2011 05:49:19 +0000 (15:49 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sat, 24 Dec 2011 11:47:57 +0000 (21:47 +1000)
commit1f23f621c0e3af8bf6da97c08a42fc25dc7df215
tree81d6448d479d48e5c93f6a444a6e5431a63aff4a
parent6502827f47c2fbb82ea1e7695fa7acddf01300b8
m68k: simpler m68k and ColdFire CPU's can use generic csum code

We have two implementations of the IP checksuming code for the m68k arch.
One uses the more advanced instructions available in 68020 and above
processors, the other uses the simpler instructions available on the
original 68000 processors and the modern ColdFire processors.

This simpler code is pretty much the same as the generic lib implementation
of the IP csum functions. So lets just switch over to using that. That
means we can completely remove the checksum_no.c file, and only have the
local fast code used for the more complex 68k CPU family members.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/Kconfig
arch/m68k/Kconfig.cpu
arch/m68k/include/asm/checksum.h
arch/m68k/lib/Makefile
arch/m68k/lib/checksum.c [new file with mode: 0644]
arch/m68k/lib/checksum_mm.c [deleted file]
arch/m68k/lib/checksum_no.c [deleted file]