From: Maciej W. Rozycki Date: Fri, 4 Apr 2014 02:32:29 +0000 (+0100) Subject: MIPS: __strncpy_from_user_asm CPU_DADDI_WORKAROUNDS bug fix X-Git-Tag: omap-for-v3.16/fixes-against-rc1~178^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=465ca5d6a06bfab861b65bb6b54dca170564326b;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6685/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed