MIPS: Add uasm_i_dsrl_safe() and uasm_i_dsll_safe() to uasm.
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 28 Apr 2010 19:16:16 +0000 (12:16 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Apr 2010 19:52:45 +0000 (20:52 +0100)
commit26b9e547e90db6b8b409084a9d4501124ff492b3
tree020bfdc2f464477b032e2bc5d766a36382f7e5b4
parentce384d83d00ee457c3931d3fdb9fa2c38e345a3c
MIPS: Add uasm_i_dsrl_safe() and uasm_i_dsll_safe() to uasm.

This allows us to clean up the code by not having to explicitly code
checks for shift amounts greater than 32.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1153/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/uasm.h