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)
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

Simple merge