]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: also set iaoq_b in instruction_pointer_set()
authorSven Schnelle <svens@stackframe.org>
Thu, 4 Apr 2019 16:16:04 +0000 (18:16 +0200)
committerHelge Deller <deller@gmx.de>
Sat, 6 Apr 2019 17:07:55 +0000 (19:07 +0200)
commitbd5508b80cab35bd9724fa1d4e7e75f76c6710c6
treea1e32062c0ea2a0677d9f0acce6f8a63ef71b9dd
parente301b92e91f78bee65668af01c7e890ec0eb4091
parisc: also set iaoq_b in instruction_pointer_set()

When setting the instruction pointer on PA-RISC we also need
to set the back of the instruction queue to the new offset, otherwise
we will execute on instruction from the new location, and jumping
back to the old location stored in iaoq_b.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Fixes: df872377809a ("parisc: Add HAVE_REGS_AND_STACK_ACCESS_API feature")
Cc: stable@vger.kernel.org # 4.19+
arch/parisc/include/asm/ptrace.h