rps: Fixed build with CONFIG_SMP not enabled.
[deliverable/linux.git] / include / linux / netdevice.h
index de1a52bcb9e03477a03d74484f5e62734b835eaa..726ecd1af535cc77d6e01f271131145cf101a53b 100644 (file)
@@ -1341,7 +1341,9 @@ struct softnet_data {
        struct sk_buff          *completion_queue;
 
        /* Elements below can be accessed between CPUs for RPS */
+#ifdef CONFIG_SMP
        struct call_single_data csd ____cacheline_aligned_in_smp;
+#endif
        struct sk_buff_head     input_pkt_queue;
        struct napi_struct      backlog;
 };
This page took 0.024924 seconds and 5 git commands to generate.