]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
xtensa: fix syscall_set_return_value
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Nov 2019 23:05:40 +0000 (15:05 -0800)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 6 Jan 2020 13:57:22 +0000 (07:57 -0600)
commitecfc11961fba5f6378e882913f5f018f2c9c67ec
tree73a05421cbaa15ac5e79b3d632a4f2aacea1db16
parentb667aaddb92f82ed839b392a8b48ae760c2e4f6e
xtensa: fix syscall_set_return_value

BugLink: https://bugs.launchpad.net/bugs/1858427
commit c2d9aa3b6e56de56c7f1ed9026ca6ec7cfbeef19 upstream.

syscall return value is in the register a2, not a0.

Cc: stable@vger.kernel.org # v5.0+
Fixes: 9f24f3c1067c ("xtensa: implement tracehook functions and enable HAVE_ARCH_TRACEHOOK")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/xtensa/include/asm/syscall.h