]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Revert "MIPS: UAPI: Fix unrecognized opcode WSBH/DSBH/DSHD when using MIPS16."
authorYousong Zhou <yszhou4tech@gmail.com>
Sat, 26 Sep 2015 05:41:42 +0000 (13:41 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Oct 2015 09:29:57 +0000 (11:29 +0200)
commit1bb3bf6226eedee453902e5cf8899ee548f43840
treef060a3f53728f8b23f9cf5ab74319ac619f5e4fe
parent049e6dde7e57f0054fdc49102e7ef4830c698b46
Revert "MIPS: UAPI: Fix unrecognized opcode WSBH/DSBH/DSHD when using MIPS16."

This reverts commit e0d8b2ec532852d4b5aabcec3e7611848c32237d.

For at least GCC 4.8.3, adding nomips16 function attribute still cannot
prevent it from being inlined in mips16 context.  So revert it first in
preparation for a better workaround.

 [1] Inlining nomips16 function into mips16 function can result in
     undefined builtins, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55777

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11240/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/uapi/asm/swab.h