]> git.baikalelectronics.ru Git - kernel.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)
commit4b4ed9fdbcd69cdc4c368ffcc0673cc03199d36d
treef060a3f53728f8b23f9cf5ab74319ac619f5e4fe
parentf45d154a7e5fca594e01c3f4b3b1dfaab025bdc7
Revert "MIPS: UAPI: Fix unrecognized opcode WSBH/DSBH/DSHD when using MIPS16."

This reverts commit 9f69841ab9a6d4d818542efce492fd56dafe843a.

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