diff options
author | Paul Burton <paul.burton@mips.com> | 2019-04-05 22:50:35 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-04-09 16:21:28 -0700 |
commit | c838b580ca9dcf16b07aa72bb61a914e9db0fd2c (patch) | |
tree | 7b661034e379564d872c2fa29dbfac8eef54923b /fs/ramfs/inode.c | |
parent | ec86e545c19a5d7364b6da06dd755d43d130bf4f (diff) | |
download | linux-c838b580ca9dcf16b07aa72bb61a914e9db0fd2c.tar.bz2 |
MIPS: jump_label: Remove redundant nops
Both arch_static_branch() & arch_static_branch_jump() emit a control
transfer instruction (ie. branch or jump) without disabling assembler
re-ordering. As such the assembler will automatically fill their delay
slots.
Both functions follow their branch or jump with an explicit nop that at
first appears to be there to fill the delay slot, but given that the
assembler will do that the explicit nops serve no purpose & we end up
with our branch or jump followed by 2 nops. Remove the redundant nops.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'fs/ramfs/inode.c')
0 files changed, 0 insertions, 0 deletions