Source-Changes-HG archive

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

[src/trunk]: src/sys/kern no more p_nsems.



details:   https://anonhg.NetBSD.org/src/rev/81296cff5fcf
branches:  trunk
changeset: 449258:81296cff5fcf
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 01 03:20:50 2019 +0000

description:
no more p_nsems.

diffstat:

 sys/kern/kern_proc.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r d638193f5132 -r 81296cff5fcf sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c      Fri Mar 01 03:05:08 2019 +0000
+++ b/sys/kern/kern_proc.c      Fri Mar 01 03:20:50 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_proc.c,v 1.226 2019/01/29 09:28:50 pgoyette Exp $ */
+/*     $NetBSD: kern_proc.c,v 1.227 2019/03/01 03:20:50 christos Exp $ */
 
 /*-
  * Copyright (c) 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.226 2019/01/29 09:28:50 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.227 2019/03/01 03:20:50 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_kstack.h"
@@ -2259,7 +2259,6 @@
        p->p_vfpid_done = psrc->p_vfpid_done;
        p->p_lwp_created = psrc->p_lwp_created;
        p->p_lwp_exited = psrc->p_lwp_exited;
-       p->p_nsems = psrc->p_nsems;
        COND_SET_VALUE(p->p_path, psrc->p_path, allowaddr);
        COND_SET_VALUE(p->p_sigctx, psrc->p_sigctx, allowaddr);
        p->p_nice = psrc->p_nice;



Home | Main Index | Thread Index | Old Index