From 94c0a71eb17a144df4c4f7d95d07532ec08b3ac1 Mon Sep 17 00:00:00 2001 From: yamt Date: Mon, 29 Oct 2007 12:16:54 +0000 Subject: [PATCH] reduce dependencies on opt_sched.h. --- sys/kern/kern_synch.c | 5 +++-- sys/sys/sched.h | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 38d674ac4ca9..941a559ceea1 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_synch.c,v 1.201 2007/10/13 00:30:26 rmind Exp $ */ +/* $NetBSD: kern_synch.c,v 1.202 2007/10/29 12:16:54 yamt Exp $ */ /*- * Copyright (c) 1999, 2000, 2004, 2006, 2007 The NetBSD Foundation, Inc. @@ -75,12 +75,13 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.201 2007/10/13 00:30:26 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.202 2007/10/29 12:16:54 yamt Exp $"); #include "opt_kstack.h" #include "opt_lockdebug.h" #include "opt_multiprocessor.h" #include "opt_perfctrs.h" +#include "opt_sched.h" #define __MUTEX_PRIVATE diff --git a/sys/sys/sched.h b/sys/sys/sched.h index 628ccaec28b5..ebde02fe00a7 100644 --- a/sys/sys/sched.h +++ b/sys/sys/sched.h @@ -1,4 +1,4 @@ -/* $NetBSD: sched.h,v 1.39 2007/10/09 19:00:16 rmind Exp $ */ +/* $NetBSD: sched.h,v 1.40 2007/10/29 12:16:54 yamt Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2002, 2007 The NetBSD Foundation, Inc. @@ -81,7 +81,6 @@ #if defined(_KERNEL_OPT) #include "opt_multiprocessor.h" #include "opt_lockdebug.h" -#include "opt_sched.h" #endif struct sched_param {