MIPS: Add uasm UASM_i_SRL_SAFE macro.
authorDavid Daney <david.daney@cavium.com>
Tue, 5 Jul 2011 23:34:45 +0000 (16:34 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 26 Jul 2011 05:47:36 +0000 (06:47 +0100)
commitf0daaaf5236297ea81ec7732cd0df5dbd84a5042
tree75e6a1dc2c0501639ec4e30169eb03765fc85072
parentc8e58856f2f288bfe076ad9205d9a10623498c96
MIPS: Add uasm UASM_i_SRL_SAFE macro.

This can be used from either 32-bit or 64-bit code to generate logical
right shifts of any constant amount.

Signed-off-by: David Daney <david.daney@cavium.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2576/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/uasm.h