Trivial patch, move netdev_budget declaration out of netdevice.h
to a new home with the other sysctl externs.
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- a/include/linux/netdevice.h 2007-08-16 06:38:33.000000000 -0400
+++ b/include/linux/netdevice.h 2007-08-16 09:24:08.000000000 -0400
@@ -811,8 +811,6 @@ extern int dev_hard_start_xmit(struct s
struct net_device *dev);
extern struct net_device_stats *dev_get_stats(struct net_device *dev);
-extern int netdev_budget;
-
/* Called by rtnetlink.c:rtnl_unlock() */
extern void netdev_run_todo(void);
--- a/net/core/sysctl_net_core.c 2007-08-06 04:26:48.000000000 -0400
+++ b/net/core/sysctl_net_core.c 2007-08-16 09:24:08.000000000 -0400
@@ -13,6 +13,7 @@
#ifdef CONFIG_SYSCTL
+extern int netdev_budget;
extern int netdev_max_backlog;
extern int weight_p;
--
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html