]> 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)
commitff7efbba6bdcc5c3c9565e1b7ef3f7f012325f43
tree7f9da2f3f1efa1c7b46310c658b1f0679d35984e
parentb7a7890654ed26c91f9d2dae6a440c57acfe5e71
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