summaryrefslogtreecommitdiffstats
path: root/net/core/net-sysfs.h
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-11-26 08:36:09 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-28 18:24:14 -0800
commitbf26414510103448ad3dc069c7422462f03ea3d7 (patch)
treeb8930bb2850dbc65f1e1f4e8bc6574f3c956b772 /net/core/net-sysfs.h
parent8fa9208e305e24978b897d6ea057604444ce77e1 (diff)
downloadlinux-bf26414510103448ad3dc069c7422462f03ea3d7.tar.bz2
xps: Add CONFIG_XPS
This patch adds XPS_CONFIG option to enable and disable XPS. This is done in the same manner as RPS_CONFIG. This is also fixes build failure in XPS code when SMP is not enabled. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.h')
-rw-r--r--net/core/net-sysfs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/net-sysfs.h b/net/core/net-sysfs.h
index 25ec2ee57df7..bd7751ec1c4d 100644
--- a/net/core/net-sysfs.h
+++ b/net/core/net-sysfs.h
@@ -4,11 +4,8 @@
int netdev_kobject_init(void);
int netdev_register_kobject(struct net_device *);
void netdev_unregister_kobject(struct net_device *);
-#ifdef CONFIG_RPS
int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num);
int netdev_queue_update_kobjects(struct net_device *net,
int old_num, int new_num);
#endif
-
-#endif