X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fnetdma.h;h=7f53cd1d8b1eb8b54e8e88fbd286edef6e6673b7;hb=61f4627b2fecce9d5c9645e4b47e75a0c29ad8c3;hp=19760eb131aabefecc043ee5e50d224221ff504f;hpb=75ba632a01d4dc70d0a0f3a92b5ec9b4a3644b2d;p=linux-2.6-omap-h63xx.git diff --git a/include/net/netdma.h b/include/net/netdma.h index 19760eb131a..7f53cd1d8b1 100644 --- a/include/net/netdma.h +++ b/include/net/netdma.h @@ -29,7 +29,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(); @@ -37,7 +37,7 @@ static inline struct dma_chan *get_softnet_dma(void) } int dma_skb_copy_datagram_iovec(struct dma_chan* chan, - const struct sk_buff *skb, int offset, struct iovec *to, + struct sk_buff *skb, int offset, struct iovec *to, size_t len, struct dma_pinned_list *pinned_list); #endif /* CONFIG_NET_DMA */