]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: lib: csum_partial: Merge EXC and load/store macros
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 16 Jan 2014 17:02:13 +0000 (17:02 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:17 +0000 (23:09 +0100)
commit76b444d3610f5c81a9084ccd87a79a693d94c53e
treeaa750e8cbb02aca8f55cd4eee2f10af777a0d5f3
parentff7efbba6bdcc5c3c9565e1b7ef3f7f012325f43
MIPS: lib: csum_partial: Merge EXC and load/store macros

Each load/store macro always adds an entry to the __ex_table
using the EXC macro. There are cases where a load instruction may
never fail such as when we are sure the load happens in the kernel
address space. Therefore, we merge these the EXC and LOADX/STOREX
macros into a single one. We also expand the argument list in the EXC
macro to make the macro more flexible. The extra 'type' argument is not
used by this commit, but it will be used when EVA support is added to
memcpy.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/lib/csum_partial.S