aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-04-15 00:16:59 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-15 00:16:59 -0700
commitfd793d8905720595caede6bd26c5df6c0ecd37f8 (patch)
tree1aab1c7c6db278d0400e9a2e6019955419413a6c /include
parentnet: netif_rx() must disable preemption (diff)
downloadlinux-dev-fd793d8905720595caede6bd26c5df6c0ecd37f8.tar.xz
linux-dev-fd793d8905720595caede6bd26c5df6c0ecd37f8.zip
net: CONFIG_SMP should be CONFIG_RPS
Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 470f7c951afb..55c2086e1f06 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1331,7 +1331,7 @@ struct softnet_data {
struct sk_buff *completion_queue;
/* Elements below can be accessed between CPUs for RPS */
-#ifdef CONFIG_SMP
+#ifdef CONFIG_RPS
struct call_single_data csd ____cacheline_aligned_in_smp;
#endif
struct sk_buff_head input_pkt_queue;