Skip to content
Commit 9d9043f6 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: clean up system_call/xtensa_rt_sigreturn interaction



system_call assembly code always pushes pointer to struct pt_regs as the
last additional parameter for all system calls. The only user of this
feature is xtensa_rt_sigreturn.
Avoid this special case. Define xtensa_rt_sigreturn as accepting no
argiments. Use current_pt_regs to get pointer to struct pt_regs in
xtensa_rt_sigreturn. Don't pass additional parameter from system_call
code.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 02ce94c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment