summaryrefslogtreecommitdiffstats
path: root/sys/dev/xen/netfront/netfront.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2011-01-04 14:49:54 +0000
committerrwatson <rwatson@FreeBSD.org>2011-01-04 14:49:54 +0000
commitb5469e8b581b388e373b5a39d23cc88058622db2 (patch)
treee0d5d75c0d8583fa305bc8fca00f7523da80fddf /sys/dev/xen/netfront/netfront.c
parentcdb6d8e9a40ffe79e58357fb15b6a624f27c9e6e (diff)
downloadFreeBSD-src-b5469e8b581b388e373b5a39d23cc88058622db2.zip
FreeBSD-src-b5469e8b581b388e373b5a39d23cc88058622db2.tar.gz
Make "options XENHVM" compile for i386, not just amd64 -- a largely
mechanical change. This opens the door for using PV device drivers under Xen HVM on i386, as well as more general harmonisation of i386 and amd64 Xen support in FreeBSD. Reviewed by: cperciva MFC after: 3 weeks
Diffstat (limited to 'sys/dev/xen/netfront/netfront.c')
-rw-r--r--sys/dev/xen/netfront/netfront.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c
index 423df97..61b14af 100644
--- a/sys/dev/xen/netfront/netfront.c
+++ b/sys/dev/xen/netfront/netfront.c
@@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$");
#include <machine/xen/xen-os.h>
#include <machine/xen/xenfunc.h>
+#include <machine/xen/xenvar.h>
#include <xen/hypervisor.h>
#include <xen/xen_intr.h>
#include <xen/evtchn.h>
OpenPOWER on IntegriCloud