diff options
author | Tom Herbert <therbert@google.com> | 2010-11-26 08:36:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 18:24:14 -0800 |
commit | bf26414510103448ad3dc069c7422462f03ea3d7 (patch) | |
tree | b8930bb2850dbc65f1e1f4e8bc6574f3c956b772 /net/core/net-sysfs.h | |
parent | 8fa9208e305e24978b897d6ea057604444ce77e1 (diff) |
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.h | 3 |
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 |