diff options
author | newton <newton@FreeBSD.org> | 1999-07-30 12:47:17 +0000 |
---|---|---|
committer | newton <newton@FreeBSD.org> | 1999-07-30 12:47:17 +0000 |
commit | 5f5a02888b59ec2435b4d376605cf266005c6ab8 (patch) | |
tree | 921658b359ea3d98834d338d7729233e3878ab36 /sys/i386/svr4/svr4_machdep.c | |
parent | 5ac6d3874c8cf90867998606d2de7f558047836d (diff) | |
download | FreeBSD-src-5f5a02888b59ec2435b4d376605cf266005c6ab8.zip FreeBSD-src-5f5a02888b59ec2435b4d376605cf266005c6ab8.tar.gz |
Add $Id$ tags.
Clean-up some unused (or to-be-used) variables in svr4_getcontext()
Diffstat (limited to 'sys/i386/svr4/svr4_machdep.c')
-rw-r--r-- | sys/i386/svr4/svr4_machdep.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/i386/svr4/svr4_machdep.c b/sys/i386/svr4/svr4_machdep.c index 5e77fd1..0c77505 100644 --- a/sys/i386/svr4/svr4_machdep.c +++ b/sys/i386/svr4/svr4_machdep.c @@ -24,6 +24,8 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * $Id$ */ #include <sys/types.h> @@ -106,10 +108,12 @@ svr4_getcontext(p, uc, mask, oonstack) int mask, oonstack; { struct trapframe *tf = p->p_md.md_regs; - struct sigacts *psp = p->p_sigacts; svr4_greg_t *r = uc->uc_mcontext.greg; struct svr4_sigaltstack *s = &uc->uc_stack; +#ifdef DONE_MORE_SIGALTSTACK_WORK + struct sigacts *psp = p->p_sigacts; struct sigaltstack *sf = &psp->ps_sigstk; +#endif memset(uc, 0, sizeof(struct svr4_ucontext)); @@ -156,7 +160,7 @@ svr4_getcontext(p, uc, mask, oonstack) /* * Set the signal stack */ -#if 0 +#if DONE_MORE_SIGALTSTACK_WORK bsd_to_svr4_sigaltstack(sf, s); #else s->ss_sp = (void *)(((u_long) tf->tf_esp) & ~(16384 - 1)); |