]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] signal: do not use save_static_function() anymore
authorFranck Bui-Huu <fbuihuu@gmail.com>
Mon, 5 Feb 2007 14:24:27 +0000 (15:24 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 10 Feb 2007 22:38:48 +0000 (22:38 +0000)
commitac244d09fe196a1a0769afd0b1ff2d0d4d0c70d4
tree446635241c5685bc525c89532967b7adf4c59589
parentb6813cfcedc896d4b0d32ae19277cec479cd4b0b
[MIPS] signal: do not use save_static_function() anymore

This macro was used to save static registers before calling
sys_sigsuspend() and sys_sigreturn().

For the sys_sigreturn() case, there's no point to save them
since they have been already saved by setup_sigcontext()
before calling the signal handler.

For the sys_sigsuspend() case, I don't see any reasons...

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/signal.c
arch/mips/kernel/signal32.c
arch/mips/kernel/signal_n32.c