Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/sys/arch/i386/i386 struct proc *p is unused in !VM86 case.



details:   https://anonhg.NetBSD.org/src/rev/1be0f0f5eb8a
branches:  nathanw_sa
changeset: 504576:1be0f0f5eb8a
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Tue Mar 13 20:45:41 2001 +0000

description:
struct proc *p is unused in !VM86 case.

diffstat:

 sys/arch/i386/i386/svr4_machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r a1979f6dd0c5 -r 1be0f0f5eb8a sys/arch/i386/i386/svr4_machdep.c
--- a/sys/arch/i386/i386/svr4_machdep.c Tue Mar 13 20:29:48 2001 +0000
+++ b/sys/arch/i386/i386/svr4_machdep.c Tue Mar 13 20:45:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_machdep.c,v 1.50.4.1 2001/03/05 22:49:14 nathanw Exp $     */
+/*     $NetBSD: svr4_machdep.c,v 1.50.4.2 2001/03/13 20:45:41 nathanw Exp $     */
 
 /*-
  * Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
@@ -194,8 +194,10 @@
        u_long flags;
 {
        register struct trapframe *tf;
+       svr4_greg_t *r = mc->greg;
+#ifdef VM86
        struct proc *p = l->l_proc;
-       svr4_greg_t *r = mc->greg;
+#endif
 
 #ifdef DEBUG_SVR4
        svr4_printcontext("setmcontext", mc);



Home | Main Index | Thread Index | Old Index