浏览代码

net: CONFIG_SMP should be CONFIG_RPS

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Changli Gao 15 年之前
父节点
当前提交
fd793d8905
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/netdevice.h

+ 1 - 1
include/linux/netdevice.h

@@ -1331,7 +1331,7 @@ struct softnet_data {
 	struct sk_buff		*completion_queue;
 	struct sk_buff		*completion_queue;
 
 
 	/* Elements below can be accessed between CPUs for RPS */
 	/* Elements below can be accessed between CPUs for RPS */
-#ifdef CONFIG_SMP
+#ifdef CONFIG_RPS
 	struct call_single_data	csd ____cacheline_aligned_in_smp;
 	struct call_single_data	csd ____cacheline_aligned_in_smp;
 #endif
 #endif
 	struct sk_buff_head	input_pkt_queue;
 	struct sk_buff_head	input_pkt_queue;