]> git.baikalelectronics.ru Git - 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)
commitdec228a853a4cd6e7267980f46d12a4a6a154a5d
treec90d087741f4146d7ab7011c839c54e63d595acf
parent427308b4e988c556ad43c7cc18e74f2a40c26a63
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