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)
commite89fb56c8bcf5514cfe7abd7a3dda9e6007b7238
treee71494a33e6dad52b0f02b477e9f8aeada7af4e1
parent2ab82e66483798670e129c48c05d7fc8a39ea996
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