summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-06-26 23:24:46 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-06-26 23:24:46 +0000
commiteb23aac2d7eb652ee88e15b7d32db9f5f6b307b4 (patch)
tree03429ad5db3924bb64a9dc031b6ea1931ca9c8e6 /sys/arch/mvmeppc
parentb67846532dd844d067cf0399f4ba4c50503dbc14 (diff)
Don't #include <sys/user.h> into files that don't need the stuff
it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r--sys/arch/mvmeppc/dev/cpu.c3
-rw-r--r--sys/arch/mvmeppc/mvmeppc/bus_dma.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/mvmeppc/dev/cpu.c b/sys/arch/mvmeppc/dev/cpu.c
index 66f513f4943..17368b1ce80 100644
--- a/sys/arch/mvmeppc/dev/cpu.c
+++ b/sys/arch/mvmeppc/dev/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.8 2004/11/18 16:10:28 miod Exp $ */
+/* $OpenBSD: cpu.c,v 1.9 2010/06/26 23:24:44 guenther Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -36,7 +36,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/device.h>
#include <machine/autoconf.h>
diff --git a/sys/arch/mvmeppc/mvmeppc/bus_dma.c b/sys/arch/mvmeppc/mvmeppc/bus_dma.c
index 3698b8731c7..85c38e3ac0b 100644
--- a/sys/arch/mvmeppc/mvmeppc/bus_dma.c
+++ b/sys/arch/mvmeppc/mvmeppc/bus_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_dma.c,v 1.26 2010/03/29 19:21:58 oga Exp $ */
+/* $OpenBSD: bus_dma.c,v 1.27 2010/06/26 23:24:44 guenther Exp $ */
/* $NetBSD: bus_dma.c,v 1.2 2001/06/10 02:31:25 briggs Exp $ */
/*-
@@ -33,7 +33,6 @@
#include <sys/param.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/extent.h>
#include <sys/buf.h>
#include <sys/device.h>