Commit 1d852e41 authored by Miles Bader's avatar Miles Bader Committed by Arnaldo Carvalho de Melo

[PATCH] Remove some unneeded register saving on the v850

These registers are now saved in a difference place, but the old code
was inadvertently left in.
parent cb13b158
...@@ -610,10 +610,9 @@ L_ENTRY(sys_sigreturn_wrapper): ...@@ -610,10 +610,9 @@ L_ENTRY(sys_sigreturn_wrapper):
br restore_extra_regs_and_ret_from_trap br restore_extra_regs_and_ret_from_trap
END(sys_sigreturn_wrapper) END(sys_sigreturn_wrapper)
L_ENTRY(sys_rt_sigreturn_wrapper): L_ENTRY(sys_rt_sigreturn_wrapper):
SAVE_EXTRA_STATE(TRAP) // Save state not saved by entry.
movea PTO, sp, r6 // add user context as 1st arg movea PTO, sp, r6 // add user context as 1st arg
mov hilo(CSYM(sys_rt_sigreturn)), r18 // syscall function mov hilo(CSYM(sys_rt_sigreturn)), r18// syscall function
jarl save_extra_state_tramp, lp // Save state and do it jarl save_extra_state_tramp, lp // Save state and do it
br restore_extra_regs_and_ret_from_trap br restore_extra_regs_and_ret_from_trap
END(sys_rt_sigreturn_wrapper) END(sys_rt_sigreturn_wrapper)
......
Markdown is supported
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