[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Move misplaced netif_free declaration.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID e212c0b60fbef5563a860b90eb06eebc795f862a
# Parent  f3ebb4d6baaba2be00e6083a0769b6c940fcf448
Move misplaced netif_free declaration.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r f3ebb4d6baab -r e212c0b60fbe 
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c      Sun Oct 30 
15:44:47 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c      Sun Oct 30 
16:17:21 2005
@@ -91,8 +91,6 @@
 static void network_tx_buf_gc(struct net_device *dev);
 static void network_alloc_rx_buffers(struct net_device *dev);
 
-static void netif_free(struct netfront_info *info);
-
 static unsigned long rx_pfn_array[NETIF_RX_RING_SIZE];
 static multicall_entry_t rx_mcl[NETIF_RX_RING_SIZE+1];
 static mmu_update_t rx_mmu[NETIF_RX_RING_SIZE];
@@ -191,6 +189,8 @@
        printk(KERN_INFO "xen_net: " fmt, ##args)
 #define WPRINTK(fmt, args...) \
        printk(KERN_WARNING "xen_net: " fmt, ##args)
+
+static void netif_free(struct netfront_info *info);
 
 /** Send a packet on a net device to encourage switches to learn the
  * MAC. We send a fake ARP request.

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.