Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus uvm/uvm_extern.h, not machine/pmap.h, for pmap(...



details:   https://anonhg.NetBSD.org/src/rev/4ddf566bbf47
branches:  trunk
changeset: 975790:4ddf566bbf47
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Sep 06 17:22:44 2020 +0000

description:
uvm/uvm_extern.h, not machine/pmap.h, for pmap(9).  Sort includes.

diffstat:

 sys/dev/sbus/genfb_sbus.c |  16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diffs (41 lines):

diff -r 2c556ec689bb -r 4ddf566bbf47 sys/dev/sbus/genfb_sbus.c
--- a/sys/dev/sbus/genfb_sbus.c Sun Sep 06 17:19:46 2020 +0000
+++ b/sys/dev/sbus/genfb_sbus.c Sun Sep 06 17:22:44 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: genfb_sbus.c,v 1.12 2020/09/05 16:30:11 riastradh Exp $ */
+/*     $NetBSD: genfb_sbus.c,v 1.13 2020/09/06 17:22:44 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -29,23 +29,25 @@
 /* an SBus frontend for the generic fb console driver */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb_sbus.c,v 1.12 2020/09/05 16:30:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_sbus.c,v 1.13 2020/09/06 17:22:44 riastradh Exp $");
 
 #include <sys/param.h>
-#include <sys/systm.h>
+#include <sys/types.h>
+
 #include <sys/buf.h>
+#include <sys/bus.h>
+#include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/ioctl.h>
-#include <sys/conf.h>
+#include <sys/systm.h>
 
-#include <sys/bus.h>
+#include <uvm/uvm_extern.h>
+
 #include <machine/autoconf.h>
-#include <machine/pmap.h>
 
 #include <dev/sbus/sbusvar.h>
 #include <dev/sun/fbio.h>
 #include <dev/sun/fbvar.h>
-
 #include <dev/wsfb/genfbvar.h>
 
 struct genfb_sbus_softc {



Home | Main Index | Thread Index | Old Index