Include uvm/uvm_extern.h to access uvmexp. gtmpsc.c doesn't need

uvm(9) API at all.
This commit is contained in:
uebayasi 2010-11-14 03:49:52 +00:00
parent bf824a0e5c
commit 19b39d64b4
3 changed files with 10 additions and 7 deletions

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.134 2009/06/05 19:21:02 haad Exp $");
#include <sys/kthread.h>
#include <sys/bufq.h>
#include <uvm/uvm_extern.h>
#include <dev/ccdvar.h>
#include <dev/dkvar.h>

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: gtmpsc.c,v 1.41 2010/11/13 13:52:03 uebayasi Exp $")
#include <sys/kgdb.h>
#endif
#include <uvm/uvm.h>
#include <dev/cons.h>
#include <dev/marvell/gtreg.h>

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.25 2010/11/13 13:52:10 uebayasi Exp $");
#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>