diff options
author | David Daney <david.daney@cavium.com> | 2013-04-25 17:48:53 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-04-26 17:18:24 +0200 |
commit | 3d39019a1655d195a60a86ebf38f9da30bd83d03 (patch) | |
tree | 3865e565fe49f2da4d9e690c8fdf63d7c04dbfa3 /arch/mips/ralink | |
parent | MIPS: Remove further use of .subsection (diff) | |
download | linux-3d39019a1655d195a60a86ebf38f9da30bd83d03.tar.xz linux-3d39019a1655d195a60a86ebf38f9da30bd83d03.zip |
MIPS: Remove redundant instructions from arch_spin_{,try}lock.
We were doing:
SRL $r,$?,16
ANDI $r,$r,0xffff
The logical right shift by 16 leaves the upper 16 bits clear, so the
subsequent masking out of those bits is redundant, and can safely be
removed.
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink')
0 files changed, 0 insertions, 0 deletions