]> 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)
commitde6e605798d5c252403087d10af142d30578d09b
treef060a3f53728f8b23f9cf5ab74319ac619f5e4fe
parent98d3c1684af51ec79c1e7c0f037516802f36e0a9
Revert "MIPS: UAPI: Fix unrecognized opcode WSBH/DSBH/DSHD when using MIPS16."

This reverts commit 70059c0ab0d6674ec571eb30d505a5f9aa44c271.

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