Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Remove a gratuitous use of curproc



details:   https://anonhg.NetBSD.org/src/rev/f8e8643874ed
branches:  trunk
changeset: 486625:f8e8643874ed
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sat May 27 00:11:12 2000 +0000

description:
Remove a gratuitous use of curproc

diffstat:

 sys/kern/kern_exit.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 01336ba1fbb8 -r f8e8643874ed sys/kern/kern_exit.c
--- a/sys/kern/kern_exit.c      Fri May 26 23:18:26 2000 +0000
+++ b/sys/kern/kern_exit.c      Sat May 27 00:11:12 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exit.c,v 1.78 2000/05/08 19:58:17 thorpej Exp $   */
+/*     $NetBSD: kern_exit.c,v 1.79 2000/05/27 00:11:12 sommerfeld Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -486,7 +486,7 @@
                                wakeup((caddr_t)p->p_pptr);
                                return (0);
                        }
-                       scheduler_wait_hook(curproc, p);
+                       scheduler_wait_hook(q, p);
                        p->p_xstat = 0;
                        ruadd(&q->p_stats->p_cru, p->p_ru);
                        pool_put(&rusage_pool, p->p_ru);



Home | Main Index | Thread Index | Old Index