]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
authorPaul Burton <paul.burton@imgtec.com>
Mon, 7 Nov 2016 15:07:07 +0000 (15:07 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Jan 2017 15:34:37 +0000 (16:34 +0100)
commit096a0de427ea333f56f0ee00328cff2a2731bcf1
tree84c8ca5e375b7edd44eabad80a6c5c2624d798d2
parentbb9bc4689b9c635714fbcd5d335bad9934a7ebfc
MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps

is_jump_ins() checks for plain jump ("j") instructions since commit
e7438c4b893e ("MIPS: Fix sibling call handling in get_frame_info") but
that commit didn't make the same change to the microMIPS code, leaving
it inconsistent with the MIPS32/MIPS64 code. Handle the microMIPS
encoding of the jump instruction too such that it behaves consistently.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Fixes: e7438c4b893e ("MIPS: Fix sibling call handling in get_frame_info")
Cc: Tony Wu <tung7970@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # v3.10+
Patchwork: https://patchwork.linux-mips.org/patch/14533/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/process.c