summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-03-09 23:06:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-03-09 23:06:21 +0000
commitf9a2d9938100b5ccc2345fa74a2bc4362511c7c1 (patch)
tree3c6e7e2fc2236c859c8ae53f3dde89e456a48c8c /sys/arch
parent814cf3ad26d24f0fad2ab8633ba9bd18b1cbb9a6 (diff)
Do not include <lib/libkern/libkern.h> explicitely, get it via <sys/systm.h>.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/macppc/opendev.c4
-rw-r--r--sys/arch/mips64/mips64/arcbios.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/macppc/macppc/opendev.c b/sys/arch/macppc/macppc/opendev.c
index 8a71fe69ca8..9394ac2fd12 100644
--- a/sys/arch/macppc/macppc/opendev.c
+++ b/sys/arch/macppc/macppc/opendev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: opendev.c,v 1.8 2004/01/07 22:45:59 brad Exp $ */
+/* $OpenBSD: opendev.c,v 1.9 2006/03/09 23:06:19 miod Exp $ */
/* $NetBSD: openfirm.c,v 1.1 1996/09/30 16:34:52 ws Exp $ */
/*
@@ -32,11 +32,11 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/stdarg.h>
#include <machine/psl.h>
#include <dev/ofw/openfirm.h>
-#include <lib/libkern/libkern.h>
extern void ofw_stack(void);
extern void ofbcopy(const void *, void *, size_t);
diff --git a/sys/arch/mips64/mips64/arcbios.c b/sys/arch/mips64/mips64/arcbios.c
index 1acc8aa7856..0afb7f3d9f9 100644
--- a/sys/arch/mips64/mips64/arcbios.c
+++ b/sys/arch/mips64/mips64/arcbios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arcbios.c,v 1.7 2004/10/20 12:49:15 pefo Exp $ */
+/* $OpenBSD: arcbios.c,v 1.8 2006/03/09 23:06:20 miod Exp $ */
/*-
* Copyright (c) 1996 M. Warner Losh. All rights reserved.
* Copyright (c) 1996-2004 Opsycon AB. All rights reserved.
@@ -28,7 +28,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
-#include <lib/libkern/libkern.h>
#include <machine/pte.h>
#include <machine/cpu.h>
#include <machine/memconf.h>