[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1271169406-8115-1-git-send-email-xiaosuo@gmail.com>
Date: Tue, 13 Apr 2010 22:36:46 +0800
From: Changli Gao <xiaosuo@...il.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: Eric Dumazet <eric.dumazet@...il.com>, netdev@...r.kernel.org,
Tom Herbert <therbert@...gle.com>,
Changli Gao <xiaosuo@...il.com>
Subject: [PATCH] CONFIG_SMP should be CONFIG_RPS
CONFIG_SMP should be CONFIG_RPS
CONFIG_SMP should be CONFIG_RPS
Signed-off-by: Changli Gao <xiaosuo@...il.com>
----
include/linux/netdevice.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index d1a21b5..0efb36e 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;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists