Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern These don't need uvm/uvm_extern.h.
details: https://anonhg.NetBSD.org/src/rev/5c2003cf83b2
branches: trunk
changeset: 767689:5c2003cf83b2
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Wed Jul 27 14:35:33 2011 +0000
description:
These don't need uvm/uvm_extern.h.
diffstat:
sys/kern/kern_clock.c | 6 ++----
sys/kern/kern_condvar.c | 6 ++----
sys/kern/kern_ksyms.c | 6 ++----
sys/kern/kern_sleepq.c | 6 ++----
sys/kern/kern_subr.c | 6 ++----
sys/kern/kern_time.c | 6 ++----
sys/kern/kern_turnstile.c | 6 ++----
sys/kern/sched_4bsd.c | 6 ++----
sys/kern/subr_percpu.c | 6 ++----
sys/kern/subr_workqueue.c | 6 ++----
sys/kern/sys_generic.c | 6 ++----
sys/kern/uipc_mbuf.c | 6 ++----
sys/kern/uipc_syscalls.c | 6 ++----
13 files changed, 26 insertions(+), 52 deletions(-)
diffs (truncated from 351 to 300 lines):
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/kern_clock.c
--- a/sys/kern/kern_clock.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/kern_clock.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_clock.c,v 1.127 2010/12/20 00:25:46 matt Exp $ */
+/* $NetBSD: kern_clock.c,v 1.128 2011/07/27 14:35:33 uebayasi Exp $ */
/*-
* Copyright (c) 2000, 2004, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_clock.c,v 1.127 2010/12/20 00:25:46 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_clock.c,v 1.128 2011/07/27 14:35:33 uebayasi Exp $");
#include "opt_ntp.h"
#include "opt_perfctrs.h"
@@ -89,8 +89,6 @@
#include <sys/cpu.h>
#include <sys/atomic.h>
-#include <uvm/uvm_extern.h>
-
#ifdef GPROF
#include <sys/gmon.h>
#endif
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/kern_condvar.c
--- a/sys/kern/kern_condvar.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/kern_condvar.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_condvar.c,v 1.29 2011/04/14 20:19:35 jym Exp $ */
+/* $NetBSD: kern_condvar.c,v 1.30 2011/07/27 14:35:33 uebayasi Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_condvar.c,v 1.29 2011/04/14 20:19:35 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_condvar.c,v 1.30 2011/07/27 14:35:33 uebayasi Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -45,8 +45,6 @@
#include <sys/lockdebug.h>
#include <sys/cpu.h>
-#include <uvm/uvm_extern.h>
-
/*
* Accessors for the private contents of the kcondvar_t data type.
*
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/kern_ksyms.c
--- a/sys/kern/kern_ksyms.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/kern_ksyms.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_ksyms.c,v 1.63 2011/04/24 18:46:22 rmind Exp $ */
+/* $NetBSD: kern_ksyms.c,v 1.64 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.63 2011/04/24 18:46:22 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.64 2011/07/27 14:35:34 uebayasi Exp $");
#if defined(_KERNEL) && defined(_KERNEL_OPT)
#include "opt_ddb.h"
@@ -91,8 +91,6 @@
#include <sys/atomic.h>
#include <sys/ksyms.h>
-#include <uvm/uvm_extern.h>
-
#ifdef DDB
#include <ddb/db_output.h>
#endif
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/kern_sleepq.c
--- a/sys/kern/kern_sleepq.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/kern_sleepq.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sleepq.c,v 1.40 2011/07/26 13:04:51 yamt Exp $ */
+/* $NetBSD: kern_sleepq.c,v 1.41 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sleepq.c,v 1.40 2011/07/26 13:04:51 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sleepq.c,v 1.41 2011/07/27 14:35:34 uebayasi Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -50,8 +50,6 @@
#include <sys/sleepq.h>
#include <sys/ktrace.h>
-#include <uvm/uvm_extern.h>
-
#include "opt_sa.h"
static int sleepq_sigtoerror(lwp_t *, int);
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/kern_subr.c
--- a/sys/kern/kern_subr.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/kern_subr.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_subr.c,v 1.208 2010/11/11 11:07:07 hannken Exp $ */
+/* $NetBSD: kern_subr.c,v 1.209 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_subr.c,v 1.208 2010/11/11 11:07:07 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_subr.c,v 1.209 2011/07/27 14:35:34 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_md.h"
@@ -106,8 +106,6 @@
#include <sys/vnode.h>
#include <sys/module.h>
-#include <uvm/uvm_extern.h>
-
#include <dev/cons.h>
#include <net/if.h>
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/kern_time.c
--- a/sys/kern/kern_time.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/kern_time.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_time.c,v 1.168 2011/04/08 10:35:37 yamt Exp $ */
+/* $NetBSD: kern_time.c,v 1.169 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c) 2000, 2004, 2005, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.168 2011/04/08 10:35:37 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.169 2011/07/27 14:35:34 uebayasi Exp $");
#include <sys/param.h>
#include <sys/resourcevar.h>
@@ -80,8 +80,6 @@
#include <sys/syscallargs.h>
#include <sys/cpu.h>
-#include <uvm/uvm_extern.h>
-
#include "opt_sa.h"
static void timer_intr(void *);
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/kern_turnstile.c
--- a/sys/kern/kern_turnstile.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/kern_turnstile.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_turnstile.c,v 1.29 2011/05/13 22:19:41 rmind Exp $ */
+/* $NetBSD: kern_turnstile.c,v 1.30 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007, 2009 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_turnstile.c,v 1.29 2011/05/13 22:19:41 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_turnstile.c,v 1.30 2011/07/27 14:35:34 uebayasi Exp $");
#include <sys/param.h>
#include <sys/lockdebug.h>
@@ -69,8 +69,6 @@
#include <sys/sleepq.h>
#include <sys/systm.h>
-#include <uvm/uvm_extern.h>
-
#define TS_HASH_SIZE 64
#define TS_HASH_MASK (TS_HASH_SIZE - 1)
#define TS_HASH(obj) (((uintptr_t)(obj) >> 3) & TS_HASH_MASK)
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/sched_4bsd.c
--- a/sys/kern/sched_4bsd.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/sched_4bsd.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sched_4bsd.c,v 1.26 2011/04/14 16:19:35 yamt Exp $ */
+/* $NetBSD: sched_4bsd.c,v 1.27 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.26 2011/04/14 16:19:35 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.27 2011/07/27 14:35:34 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_lockdebug.h"
@@ -89,8 +89,6 @@
#include <sys/kmem.h>
#include <sys/intr.h>
-#include <uvm/uvm_extern.h>
-
static void updatepri(struct lwp *);
static void resetpriority(struct lwp *);
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/subr_percpu.c
--- a/sys/kern/subr_percpu.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/subr_percpu.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_percpu.c,v 1.13 2011/05/13 22:16:44 rmind Exp $ */
+/* $NetBSD: subr_percpu.c,v 1.14 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c)2007,2008 YAMAMOTO Takashi,
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_percpu.c,v 1.13 2011/05/13 22:16:44 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_percpu.c,v 1.14 2011/07/27 14:35:34 uebayasi Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -43,8 +43,6 @@
#include <sys/vmem.h>
#include <sys/xcall.h>
-#include <uvm/uvm_extern.h>
-
#define PERCPU_QUANTUM_SIZE (ALIGNBYTES + 1)
#define PERCPU_QCACHE_MAX 0
#define PERCPU_IMPORT_SIZE 2048
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/subr_workqueue.c
--- a/sys/kern/subr_workqueue.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/subr_workqueue.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_workqueue.c,v 1.30 2009/11/11 14:54:40 rmind Exp $ */
+/* $NetBSD: subr_workqueue.c,v 1.31 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c)2002, 2005, 2006, 2007 YAMAMOTO Takashi,
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_workqueue.c,v 1.30 2009/11/11 14:54:40 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_workqueue.c,v 1.31 2011/07/27 14:35:34 uebayasi Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -40,8 +40,6 @@
#include <sys/condvar.h>
#include <sys/queue.h>
-#include <uvm/uvm_extern.h>
-
typedef struct work_impl {
SIMPLEQ_ENTRY(work_impl) wk_entry;
} work_impl_t;
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/sys_generic.c
--- a/sys/kern/sys_generic.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/sys_generic.c Wed Jul 27 14:35:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_generic.c,v 1.126 2011/04/10 15:45:33 christos Exp $ */
+/* $NetBSD: sys_generic.c,v 1.127 2011/07/27 14:35:34 uebayasi Exp $ */
/*-
* Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_generic.c,v 1.126 2011/04/10 15:45:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_generic.c,v 1.127 2011/07/27 14:35:34 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -92,8 +92,6 @@
#include <sys/atomic.h>
#include <sys/disklabel.h>
-#include <uvm/uvm_extern.h>
-
/*
* Read system call.
*/
diff -r dc2c8d4092a4 -r 5c2003cf83b2 sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c Wed Jul 27 14:17:54 2011 +0000
+++ b/sys/kern/uipc_mbuf.c Wed Jul 27 14:35:33 2011 +0000
Home |
Main Index |
Thread Index |
Old Index