X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fnetdma.h;h=f28c6e064e8f9d7ba5ebbf9ba5b928b05236d15f;hb=9063974cdbc5463528cb6aa60c91bc0267af7bbb;hp=ceae5ee85c0490178041aa9705944094e6e188cb;hpb=b71426eb10d904d421b36f51f93c8d0ba558edac;p=linux-2.6 diff --git a/include/net/netdma.h b/include/net/netdma.h index ceae5ee85c..f28c6e064e 100644 --- a/include/net/netdma.h +++ b/include/net/netdma.h @@ -20,7 +20,6 @@ */ #ifndef NETDMA_H #define NETDMA_H -#include #ifdef CONFIG_NET_DMA #include #include @@ -29,7 +28,7 @@ static inline struct dma_chan *get_softnet_dma(void) { struct dma_chan *chan; rcu_read_lock(); - chan = rcu_dereference(__get_cpu_var(softnet_data.net_dma)); + chan = rcu_dereference(__get_cpu_var(softnet_data).net_dma); if (chan) dma_chan_get(chan); rcu_read_unlock();