summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2008-05-25 16:21:54 +0000
committerchs <chs@NetBSD.org>2008-05-25 16:21:54 +0000
commit56f22e2d1f27e29a3d0a4fe5b889358bed5aa4fc (patch)
tree2a30db2acf5261e4d779b7b6ff3259e0b1079185 /sys/dev/ic
parent5039d4063f2b7c0c954a8d11d57cd8a2d4e6974a (diff)
include uvm/uvm_extern.h for trunc_page() on sparc
(where the page size isn't a compile-time constant).
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/smc91cxx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c
index 4ce33a718bb..624c35fcb3c 100644
--- a/sys/dev/ic/smc91cxx.c
+++ b/sys/dev/ic/smc91cxx.c
@@ -1,4 +1,4 @@
-/* $NetBSD: smc91cxx.c,v 1.68 2008/04/29 17:48:43 nakayama Exp $ */
+/* $NetBSD: smc91cxx.c,v 1.69 2008/05/25 16:21:54 chs Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.68 2008/04/29 17:48:43 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.69 2008/05/25 16:21:54 chs Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -94,6 +94,8 @@ __KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.68 2008/04/29 17:48:43 nakayama Exp $
#include <sys/bus.h>
#include <sys/intr.h>
+#include <uvm/uvm_extern.h>
+
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_ether.h>
@@ -107,8 +109,6 @@ __KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.68 2008/04/29 17:48:43 nakayama Exp $
#include <netinet/ip.h>
#endif
-
-
#if NBPFILTER > 0
#include <net/bpf.h>
#include <net/bpfdesc.h>