[MIPS] signal32: no need to save c0_status register in setup_sigcontext32()
authorFranck Bui-Huu <fbuihuu@gmail.com>
Mon, 5 Feb 2007 14:24:26 +0000 (15:24 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 10 Feb 2007 22:38:47 +0000 (22:38 +0000)
commit6bfe96616062acb75c2460f01acc79236a8ba0e8
tree115425ff5954516259ed2152c8e61f2a5ce527da
parent9432a9ba96ea8d007341c4e7859d393bfd357c5a
[MIPS] signal32: no need to save c0_status register in setup_sigcontext32()

All the information in the MIPS c0_status register is priviledged.
Nothing that would constitute part of the thread context.

The one flag one could possibly argument about might be c0_status.fr
but none of the ABIs or tools or application software can make use
of it.

So for consistency with restore_sigcontext32(), which does not
restore c0_status register, this patch remove the saving part.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/asm-offsets.c
arch/mips/kernel/signal32.c
include/asm-mips/sigcontext.h