rename -brcm-2.4 preinit files to -brcm, as they're shared with brcm47xx
[openwrt.git] / target / linux / ixp4xx / patches-2.6.30 / 600-dma_performance.patch
1 --- a/net/core/skbuff.c
2 +++ b/net/core/skbuff.c
3 @@ -260,6 +260,10 @@ struct sk_buff *__alloc_skb(unsigned int
4 if (!skb)
5 goto out;
6
7 +#ifdef CONFIG_ARCH_IXP4XX
8 + gfp_mask |= GFP_DMA;
9 +#endif
10 +
11 size = SKB_DATA_ALIGN(size);
12 data = kmalloc_node_track_caller(size + sizeof(struct skb_shared_info),
13 gfp_mask, node);
This page took 0.037999 seconds and 5 git commands to generate.