]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
MIPS: asm: checksum: Split kernel and user copy operations
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Thu, 19 Dec 2013 17:09:17 +0000 (17:09 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:17 +0000 (23:09 +0100)
commitfb316913f820dae1f5772afaffb5700b601af24e
treec90d087741f4146d7ab7011c839c54e63d595acf
parent6f85cebe49a4cd25a381f356ad51ccc376d00a7c
MIPS: asm: checksum: Split kernel and user copy operations

In EVA mode, different instructions need to be used to read/write
from kernel and userland. In non-EVA mode, there is no functional
difference. The current address limit is checked to decide the
type of operation that will be performed.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/include/asm/checksum.h