[PATCH][v850] Remove some unneeded register saving on the v850

Miles Bader (miles@lsi.nec.co.jp)
Mon, 21 Apr 2003 14:13:03 +0900 (JST)


These registers are now saved in a difference place, but the old code
was inadvertently left in.

diff -ruN -X../cludes linux-2.5.68-uc0/arch/v850/kernel/entry.S linux-2.5.68-uc0-v850-20030421/arch/v850/kernel/entry.S
--- linux-2.5.68-uc0/arch/v850/kernel/entry.S 2003-04-21 10:52:40.000000000 +0900
+++ linux-2.5.68-uc0-v850-20030421/arch/v850/kernel/entry.S 2003-04-21 11:27:09.000000000 +0900
@@ -610,10 +627,9 @@
br restore_extra_regs_and_ret_from_trap
END(sys_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
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
END(sys_rt_sigreturn_wrapper)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/