]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: checksum: Split the 'copy_user' symbol
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 12 Dec 2013 16:21:00 +0000 (16:21 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:17 +0000 (23:09 +0100)
commit69bad404aa29f13d7d3b65785a81a9cbac17bc4d
tree7f9da2f3f1efa1c7b46310c658b1f0679d35984e
parent04fb8cbac052167332ecf2e0f3d5bda2c1b072b6
MIPS: checksum: Split the 'copy_user' symbol

The 'copy_user' symbol can be used to copy from or to
userland so we will use two different symbols for these
operations. This makes no difference in the existing code,
but when the core is operating in EVA mode, different instructions
need to be used to read and write to userland address space.
The old function has also been renamed to 'copy_kernel' to denote
that it is suitable for copy data to and from kernel space.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/include/asm/checksum.h
arch/mips/kernel/mips_ksyms.c
arch/mips/lib/csum_partial.S