microblaze: fix __syscall_cancel_arch (BZ 33547)

The __syscall_cancel_arch function has an epilogue that does not match
the prologue. The stack is not used and the return address still lies in
r15 when reaching the epilogue. Fix the epilogue by simply returning
from the function.

Signed-off-by: Luc Michel <luc.michel@amd.com>
Tested-by: gopi@sankhya.com
Reviewed-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Luc Michel 2025-10-17 11:27:12 +02:00 committed by Adhemerval Zanella
parent bbc7caeeeb
commit c284fd5eaf
1 changed files with 1 additions and 2 deletions

View File

@ -50,9 +50,8 @@ __syscall_cancel_arch_start:
__syscall_cancel_arch_end:
nop
lwi r15,r1,0
rtsd r15,8
addik r1,r1,28
nop
1:
brlid r15, __syscall_do_cancel