aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>2005-08-15 14:52:59 +0000
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>2005-08-15 14:52:59 +0000
commita9499e2a7ffc9dd26b12b4d33d96e13144f21fd9 (patch)
tree64b39622f0cb14b73ba1a88a44484dc99992b043
parentadb7c3ff06a06d13be9417d32e0db1e4f5784831 (diff)
parentc1523470f35d1bcfb101868a122fa93165606ab3 (diff)
downloadxen-a9499e2a7ffc9dd26b12b4d33d96e13144f21fd9.tar.gz
xen-a9499e2a7ffc9dd26b12b4d33d96e13144f21fd9.tar.bz2
xen-a9499e2a7ffc9dd26b12b4d33d96e13144f21fd9.zip
merge
-rw-r--r--linux-2.6-xen-sparse/arch/xen/kernel/reboot.c1
-rw-r--r--linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
index 585c94e282..d11eb8987a 100644
--- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
@@ -15,6 +15,7 @@
#include <asm-xen/linux-public/suspend.h>
#include <asm-xen/queues.h>
#include <asm-xen/xenbus.h>
+#include <asm-xen/ctrl_if.h>
#define SHUTDOWN_INVALID -1
#define SHUTDOWN_POWEROFF 0
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 742c3fd46c..0c72a408bf 100644
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
@@ -386,7 +386,10 @@ static void network_tx_buf_gc(struct net_device *dev)
mb();
} while (prod != np->tx->resp_prod);
+#ifdef CONFIG_XEN_NETDEV_GRANT_TX
out:
+#endif
+
if (np->tx_full && ((np->tx->req_prod - prod) < NETIF_TX_RING_SIZE)) {
np->tx_full = 0;
if (np->user_state == UST_OPEN)