commit | 56a52984ae5d629160074c4c02445bc069024d0c | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <dvlasenk@redhat.com> | Thu Jun 09 01:36:29 2011 +0200 |
committer | Denys Vlasenko <dvlasenk@redhat.com> | Thu Jun 09 01:36:29 2011 +0200 |
tree | b30999eeee2db087174027247d8e24292d04f95b | |
parent | 4660fe610c2b3707b15b170728a981440e1b54d4 [diff] |
Optimize sigreturn handling * signal.c (sys_sigreturn): move stack pointer variables, and for SPARC and MIPS, stack pointer and sigmask reading code into "if (entering) ..." block, because it is only needed in this branch; load tcp->u_arg[1] into sigmask for display _after_ we know for sure u_arg[1] does contain valid sigmask (IOW: perform operation only when we know we will need the result) Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>