diff options
author | Tom Herbert <therbert@google.com> | 2010-03-18 20:45:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-18 20:45:44 -0400 |
commit | 1e94d72feab025b8f7c55d07020602f82f3a97dd (patch) | |
tree | f8d38b4fa5b51046e1bbcaf8f3fc88edc2052cae /include/linux/netdevice.h | |
parent | a034016287236f435dbb8f1f57aee906f22b4598 (diff) |
rps: Fixed build with CONFIG_SMP not enabled.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index de1a52bcb9e0..726ecd1af535 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1341,7 +1341,9 @@ struct softnet_data { | |||
1341 | struct sk_buff *completion_queue; | 1341 | struct sk_buff *completion_queue; |
1342 | 1342 | ||
1343 | /* Elements below can be accessed between CPUs for RPS */ | 1343 | /* Elements below can be accessed between CPUs for RPS */ |
1344 | #ifdef CONFIG_SMP | ||
1344 | struct call_single_data csd ____cacheline_aligned_in_smp; | 1345 | struct call_single_data csd ____cacheline_aligned_in_smp; |
1346 | #endif | ||
1345 | struct sk_buff_head input_pkt_queue; | 1347 | struct sk_buff_head input_pkt_queue; |
1346 | struct napi_struct backlog; | 1348 | struct napi_struct backlog; |
1347 | }; | 1349 | }; |