summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2010-04-20 23:12:02 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2010-04-20 23:12:02 +0000
commit02bbd32eea8cdc4e9d1ab5d232119109e5c649ef (patch)
treed40c63c1e8a1bb39ae61df3103cd417d2c2a0fe9 /sys/arch/amd64
parent62b528d5c8c76145cc3ed2693a194112fba67889 (diff)
fix amd64 kernel compile after proc.h was removed from uvm_map.h
OK tedu@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/autoconf.c3
-rw-r--r--sys/arch/amd64/amd64/sg_dma.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/autoconf.c b/sys/arch/amd64/amd64/autoconf.c
index dc8dbce7c25..eda067000aa 100644
--- a/sys/arch/amd64/amd64/autoconf.c
+++ b/sys/arch/amd64/amd64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.30 2009/05/31 03:20:10 matthieu Exp $ */
+/* $OpenBSD: autoconf.c,v 1.31 2010/04/20 23:12:01 phessler Exp $ */
/* $NetBSD: autoconf.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */
/*-
@@ -58,6 +58,7 @@
#include <sys/reboot.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
+#include <sys/timeout.h>
#include <net/if.h>
#include <net/if_types.h>
diff --git a/sys/arch/amd64/amd64/sg_dma.c b/sys/arch/amd64/amd64/sg_dma.c
index c54f078fc4d..c66e27dc2ae 100644
--- a/sys/arch/amd64/amd64/sg_dma.c
+++ b/sys/arch/amd64/amd64/sg_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sg_dma.c,v 1.8 2010/04/08 00:55:25 oga Exp $ */
+/* $OpenBSD: sg_dma.c,v 1.9 2010/04/20 23:12:01 phessler Exp $ */
/*
* Copyright (c) 2009 Owain G. Ainsworth <oga@openbsd.org>
*
@@ -54,6 +54,7 @@
#include <sys/device.h>
#include <sys/mbuf.h>
#include <sys/mutex.h>
+#include <sys/proc.h>
#include <uvm/uvm_extern.h>