OSDN Git Service

parisc: regs_return_value() should return gpr28
authorSven Schnelle <svens@stackframe.org>
Thu, 4 Apr 2019 16:16:03 +0000 (18:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2019 06:38:49 +0000 (08:38 +0200)
commit53bb8444eab276a9405cefaed4d8351cb6cc4fba
treed0c675d656753ab30885a774a95996a38730824a
parent41cf8111f3cbbc2be3a9f6e2b2e004b76a5784f0
parisc: regs_return_value() should return gpr28

commit 45efd871bf0a47648f119d1b41467f70484de5bc upstream.

While working on kretprobes for PA-RISC I was wondering while the
kprobes sanity test always fails on kretprobes. This is caused by
returning gpr20 instead of gpr28.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # 4.14+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/asm/ptrace.h