From 7aa41bf1a7e23d92dd5fd0409358b53313036706 Mon Sep 17 00:00:00 2001 From: hpeyerl Date: Sun, 20 Oct 1996 22:39:03 +0000 Subject: [PATCH] #ifdef out a couple of variables dependant on USER_LDT. --- sys/arch/i386/i386/svr4_machdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/i386/i386/svr4_machdep.c b/sys/arch/i386/i386/svr4_machdep.c index 04655df945b7..6e38b68980a8 100644 --- a/sys/arch/i386/i386/svr4_machdep.c +++ b/sys/arch/i386/i386/svr4_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_machdep.c,v 1.27 1996/10/13 18:28:49 christos Exp $ */ +/* $NetBSD: svr4_machdep.c,v 1.28 1996/10/20 22:39:03 hpeyerl Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -397,8 +397,10 @@ svr4_sys_sysarch(p, v, retval) register_t *retval; { struct svr4_sys_sysarch_args *uap = v; +#ifdef USER_LDT caddr_t sg = stackgap_init(p->p_emul); int error; +#endif *retval = 0; /* XXX: What to do */ switch (SCARG(uap, op)) {