]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5893b793fa9e969034dbab53412f1d243270def8
tree75e6a1dc2c0501639ec4e30169eb03765fc85072
parent409d4e324c76876d767e79072e3446b73499beb7
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