summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2012-02-02 17:54:35 +0000
committerken <ken@FreeBSD.org>2012-02-02 17:54:35 +0000
commit15e9b1348e160d86abda2db99d9c096d43e36fff (patch)
treef8a9ee3d2e2e3bf6b0da1885f3f00370ebc3ed87 /sys/dev
parent41ce073a83655de1f2b9b9dbce7d95243e20db5c (diff)
downloadFreeBSD-src-15e9b1348e160d86abda2db99d9c096d43e36fff.zip
FreeBSD-src-15e9b1348e160d86abda2db99d9c096d43e36fff.tar.gz
Fix the netback driver build for i386.
netback.c: Add missing VM includes. xen/xenvar.h, xen/xenpmap.h: Move some XENHVM macros from <machine/xen/xenpmap.h> to <machine/xen/xenvar.h> on i386 to match the amd64 headers. conf/files: Add netback to the build. Submitted by: jhb MFC after: 3 days
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/xen/netback/netback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c
index ef7b074..b00daf0 100644
--- a/sys/dev/xen/netback/netback.c
+++ b/sys/dev/xen/netback/netback.c
@@ -75,6 +75,8 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h>
#include <vm/pmap.h>
+#include <vm/vm_extern.h>
+#include <vm/vm_kern.h>
#include <machine/_inttypes.h>
#include <machine/xen/xen-os.h>
OpenPOWER on IntegriCloud