X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fnetdma.h;h=f28c6e064e8f9d7ba5ebbf9ba5b928b05236d15f;hb=13c48c490208d9e70d8d66d56f96c5054db69af7;hp=ceae5ee85c0490178041aa9705944094e6e188cb;hpb=4da3dcf34671fa15c4f01101754106d97fc98e6e;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();