aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-17 18:45:59 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-17 18:45:59 +0100
commitd72404ae25bc13f4905379bf6e6dd67de040d64a (patch)
treeeffd7393778f8fc7db4916b21f64a4ea4644b19e
parentbbca18e3ee01d885fb24fea97dffda1faeae00a3 (diff)
downloadxen-d72404ae25bc13f4905379bf6e6dd67de040d64a.tar.gz
xen-d72404ae25bc13f4905379bf6e6dd67de040d64a.tar.bz2
xen-d72404ae25bc13f4905379bf6e6dd67de040d64a.zip
[NET] front: Allow driver to be built for an HVM guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
-rw-r--r--linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c1
-rw-r--r--unmodified_drivers/linux-2.6/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
index 2b7cd201be..28e68ca2dd 100644
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
@@ -58,6 +58,7 @@
#include <xen/interface/memory.h>
#include <xen/balloon.h>
#include <asm/page.h>
+#include <asm/maddr.h>
#include <asm/uaccess.h>
#include <xen/interface/grant_table.h>
#include <xen/gnttab.h>
diff --git a/unmodified_drivers/linux-2.6/Makefile b/unmodified_drivers/linux-2.6/Makefile
index dacbc7012f..95d558f77b 100644
--- a/unmodified_drivers/linux-2.6/Makefile
+++ b/unmodified_drivers/linux-2.6/Makefile
@@ -3,3 +3,4 @@ include $(M)/overrides.mk
obj-m += platform-pci/
obj-m += xenbus/
obj-m += blkfront/
+obj-m += netfront/