diff options
author | Markos Chandras | 2014-11-17 10:32:38 +0100 |
---|---|---|
committer | Ralf Baechle | 2014-11-19 18:22:08 +0100 |
commit | 51b1029d9966060c6ad02030e6f251425b4f06c1 (patch) | |
tree | 727f8e0d2a9fddc98072151c052686df6498e7ed /arch/mips/configs/qi_lb60_defconfig | |
parent | MIPS: tlb-r4k: Add missing HTW stop/start sequences (diff) | |
download | kernel-qcow2-linux-51b1029d9966060c6ad02030e6f251425b4f06c1.tar.gz kernel-qcow2-linux-51b1029d9966060c6ad02030e6f251425b4f06c1.tar.xz kernel-qcow2-linux-51b1029d9966060c6ad02030e6f251425b4f06c1.zip |
MIPS: lib: memcpy: Restore NOP on delay slot before returning to caller
Commit cf62a8b8134dd3 ("MIPS: lib: memcpy: Use macro to build the
copy_user code") switched to a macro in order to build the memcpy
symbols in preparation for the EVA support. However, this commit
also removed the NOP instruction after the 'jr ra' when returning
back to the caller. This had no visible side-effects since the next
instruction was a load to the t0 register which was already in the
clobbered list, but it may have undesired effects in the future
if some other code is introduced in between the .Ldone and
the .Ll_exc_copy labels.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: <stable@vger.kernel.org> # v3.15+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8512/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/configs/qi_lb60_defconfig')
0 files changed, 0 insertions, 0 deletions