Source-Changes-HG archive

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

[src/trunk]: src/sys/kern o Don't include sys/sched.h. Scheduler-related ope...



details:   https://anonhg.NetBSD.org/src/rev/1fe24ed0349c
branches:  trunk
changeset: 809874:1fe24ed0349c
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Aug 07 06:22:12 2015 +0000

description:
o Don't include sys/sched.h.  Scheduler-related operation is done by
  sleepq(9) via SOBJ_SLEEPQ_SORTED.

o Include sys/lwp.h instead of sys/proc.h.

diffstat:

 sys/kern/kern_condvar.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 0e9ca876c080 -r 1fe24ed0349c sys/kern/kern_condvar.c
--- a/sys/kern/kern_condvar.c   Fri Aug 07 05:32:12 2015 +0000
+++ b/sys/kern/kern_condvar.c   Fri Aug 07 06:22:12 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_condvar.c,v 1.34 2013/10/25 15:51:36 martin Exp $ */
+/*     $NetBSD: kern_condvar.c,v 1.35 2015/08/07 06:22:12 uebayasi Exp $       */
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -34,12 +34,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_condvar.c,v 1.34 2013/10/25 15:51:36 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_condvar.c,v 1.35 2015/08/07 06:22:12 uebayasi Exp $");
 
 #include <sys/param.h>
-#include <sys/proc.h>
-#include <sys/sched.h>
 #include <sys/systm.h>
+#include <sys/lwp.h>
 #include <sys/condvar.h>
 #include <sys/sleepq.h>
 #include <sys/lockdebug.h>



Home | Main Index | Thread Index | Old Index