]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Introduce _EXT assembler macro
authorPaul Burton <paul.burton@imgtec.com>
Wed, 15 Jan 2014 10:31:49 +0000 (10:31 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Mar 2014 20:25:22 +0000 (21:25 +0100)
commit3fa24ab7ce966741617bc609b6e2b64a58fc9b4e
tree974825b032e342da5754e78a3f7f77b65ec0fe1e
parent97495108d1b4591e90957f3fe2e4bba324acfe02
MIPS: Introduce _EXT assembler macro

This patch adds a simple macro to wrap the ext instruction which was
introduced with MIPSR2, and fall back to a shift & and pair for
pre-MIPSR2 CPUs. This will be used in a subsequent patch.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6358/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/asmmacro.h