diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2014-04-04 04:32:29 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-13 00:29:38 +0200 |
commit | 465ca5d6a06bfab861b65bb6b54dca170564326b (patch) | |
tree | a51fa7719591719d3f8549b053e85afc67af20d0 /arch/mips/include | |
parent | MIPS: __delay CPU_DADDI_WORKAROUNDS bug fix (diff) | |
download | linux-465ca5d6a06bfab861b65bb6b54dca170564326b.tar.xz linux-465ca5d6a06bfab861b65bb6b54dca170564326b.zip |
MIPS: __strncpy_from_user_asm CPU_DADDI_WORKAROUNDS bug fix
This corrects assembler warnings and broken code generated in
__strncpy_from_user_asm:
arch/mips/lib/strncpy_user.S: Assembler messages:
arch/mips/lib/strncpy_user.S:52: Warning: Macro instruction expanded into
multiple instructions in a branch delay slot
with the CPU_DADDI_WORKAROUNDS option set. The function schedules delay
slots manually where there is really no need to as GAS is happy to do it
all itself, so undo it all and remove `.set noreorder'.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6685/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
0 files changed, 0 insertions, 0 deletions