Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Another instance of cpu_onproc to ...



details:   https://anonhg.NetBSD.org/src/rev/da73cce824f7
branches:  trunk
changeset: 846800:da73cce824f7
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Dec 01 19:21:13 2019 +0000

description:
Another instance of cpu_onproc to replace.

diffstat:

 sys/rump/librump/rumpkern/scheduler.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cdf5b800da63 -r da73cce824f7 sys/rump/librump/rumpkern/scheduler.c
--- a/sys/rump/librump/rumpkern/scheduler.c     Sun Dec 01 18:32:07 2019 +0000
+++ b/sys/rump/librump/rumpkern/scheduler.c     Sun Dec 01 19:21:13 2019 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: scheduler.c,v 1.46 2019/12/01 18:12:51 ad Exp $       */
+/*      $NetBSD: scheduler.c,v 1.47 2019/12/01 19:21:13 ad Exp $       */
 
 /*
  * Copyright (c) 2010, 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scheduler.c,v 1.46 2019/12/01 18:12:51 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scheduler.c,v 1.47 2019/12/01 19:21:13 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -449,7 +449,7 @@
        void *old;
 
        ci = l->l_cpu;
-       ci->ci_curlwp = ci->ci_data.cpu_onproc = NULL;
+       ci->ci_curlwp = ci->ci_onproc = NULL;
        rcpu = cpuinfo_to_rumpcpu(ci);
 
        KASSERT(rcpu->rcpu_ci == ci);



Home | Main Index | Thread Index | Old Index