]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: lib: csum_partial: Add macro to build csum_partial symbols
authorMarkos Chandras <markos.chandras@imgtec.com>
Fri, 17 Jan 2014 10:48:46 +0000 (10:48 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:17 +0000 (23:09 +0100)
commitcf36f8c659f8dd4d9ff6799efac3fdc06227dd62
treee71494a33e6dad52b0f02b477e9f8aeada7af4e1
parent148d41e841fa0f84b6eccbe7bcf1de1cb912be77
MIPS: lib: csum_partial: Add macro to build csum_partial symbols

In preparation for EVA support, we use a macro to build the
__csum_partial_copy_user main code so it can be shared across
multiple implementations. EVA uses the same code but it replaces
the load/store/prefetch instructions with the EVA specific ones
therefore using a macro avoids unnecessary code duplications.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/lib/csum_partial.S