]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
parisc: regs_return_value() should return gpr28
authorSven Schnelle <svens@stackframe.org>
Thu, 4 Apr 2019 16:16:03 +0000 (18:16 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commita721789dc3b969aff55944015612539303c90da6
tree6441f62ec7982d4f1a402336965f43c521e469dc
parentb7a57ffbdc6e947425600632577e973af712db84
parisc: regs_return_value() should return gpr28

BugLink: https://bugs.launchpad.net/bugs/1838116
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/parisc/include/asm/ptrace.h