summaryrefslogtreecommitdiff
path: root/arch/metag/include
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-04-04 11:42:35 +0100
committerJames Hogan <james.hogan@imgtec.com>2017-04-05 15:25:08 +0100
commitfc1b759ae4e0f636c56ca8410207a8a36630a96e (patch)
tree444b2d54fddfa72267859923ded830252ef7544b /arch/metag/include
parent049520dcb3966ee0471f2757ca3f5f5e317f33cd (diff)
metag/usercopy: Simplify rapf loop fixup corner case
The final fixup in the rapf loops must handle a corner case due to the intermediate decrementing of the destination pointer before writing the last element to it again and re-incrementing it. This decrement (and the associated increment in the fixup code) can be easily avoided by using SETL/SETD with an offset of -8/-4. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: linux-metag@vger.kernel.org
Diffstat (limited to 'arch/metag/include')
0 files changed, 0 insertions, 0 deletions