Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Include uvm/uvm_extern.h to access uvmexp. gtmpsc.c...
details: https://anonhg.NetBSD.org/src/rev/8f79ab96f7cd
branches: trunk
changeset: 758722:8f79ab96f7cd
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Nov 14 03:49:52 2010 +0000
description:
Include uvm/uvm_extern.h to access uvmexp. gtmpsc.c doesn't need
uvm(9) API at all.
diffstat:
sys/dev/ccd.c | 6 ++++--
sys/dev/marvell/gtmpsc.c | 5 ++---
sys/dev/sbus/agten.c | 6 ++++--
3 files changed, 10 insertions(+), 7 deletions(-)
diffs (80 lines):
diff -r afa146a4441a -r 8f79ab96f7cd sys/dev/ccd.c
--- a/sys/dev/ccd.c Sun Nov 14 03:36:52 2010 +0000
+++ b/sys/dev/ccd.c Sun Nov 14 03:49:52 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ccd.c,v 1.134 2009/06/05 19:21:02 haad Exp $ */
+/* $NetBSD: ccd.c,v 1.135 2010/11/14 03:49:52 uebayasi Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999, 2007, 2009 The NetBSD Foundation, Inc.
@@ -127,7 +127,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.134 2009/06/05 19:21:02 haad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.135 2010/11/14 03:49:52 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -153,6 +153,8 @@
#include <sys/kthread.h>
#include <sys/bufq.h>
+#include <uvm/uvm_extern.h>
+
#include <dev/ccdvar.h>
#include <dev/dkvar.h>
diff -r afa146a4441a -r 8f79ab96f7cd sys/dev/marvell/gtmpsc.c
--- a/sys/dev/marvell/gtmpsc.c Sun Nov 14 03:36:52 2010 +0000
+++ b/sys/dev/marvell/gtmpsc.c Sun Nov 14 03:49:52 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gtmpsc.c,v 1.41 2010/11/13 13:52:03 uebayasi Exp $ */
+/* $NetBSD: gtmpsc.c,v 1.42 2010/11/14 03:49:53 uebayasi Exp $ */
/*
* Copyright (c) 2009 KIYOHARA Takashi
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gtmpsc.c,v 1.41 2010/11/13 13:52:03 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gtmpsc.c,v 1.42 2010/11/14 03:49:53 uebayasi Exp $");
#include "opt_kgdb.h"
@@ -50,7 +50,6 @@
#include <sys/kgdb.h>
#endif
-#include <uvm/uvm.h>
#include <dev/cons.h>
#include <dev/marvell/gtreg.h>
diff -r afa146a4441a -r 8f79ab96f7cd sys/dev/sbus/agten.c
--- a/sys/dev/sbus/agten.c Sun Nov 14 03:36:52 2010 +0000
+++ b/sys/dev/sbus/agten.c Sun Nov 14 03:49:52 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: agten.c,v 1.25 2010/11/13 13:52:10 uebayasi Exp $ */
+/* $NetBSD: agten.c,v 1.26 2010/11/14 03:49:53 uebayasi Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.25 2010/11/13 13:52:10 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.26 2010/11/14 03:49:53 uebayasi Exp $");
/*
* a driver for the Fujitsu AG-10e SBus framebuffer
@@ -52,6 +52,8 @@
#include <sys/systm.h>
#include <sys/conf.h>
+#include <uvm/uvm_extern.h>
+
#include <dev/sun/fbio.h>
#include <dev/sun/fbvar.h>
#include <dev/sun/btreg.h>
Home |
Main Index |
Thread Index |
Old Index