diff options
author | Ted Hess <thess@kitschensync.net> | 2016-06-05 14:16:08 -0400 |
---|---|---|
committer | Ted Hess <thess@kitschensync.net> | 2016-06-05 14:16:08 -0400 |
commit | d0c6458339446b74ac3dc150a7f873a4ca8902ad (patch) | |
tree | 0a8b9277fa298d20fdaebe762e04c7636f88e3bf /target/linux/ixp4xx/patches-4.1/600-skb_avoid_dmabounce.patch | |
parent | 2ce19c0c1f30af4290e31a3d64d1f0cff8d21824 (diff) | |
download | master-31e0f0ae-d0c6458339446b74ac3dc150a7f873a4ca8902ad.tar.gz master-31e0f0ae-d0c6458339446b74ac3dc150a7f873a4ca8902ad.tar.bz2 master-31e0f0ae-d0c6458339446b74ac3dc150a7f873a4ca8902ad.zip |
ixp4xx: Drop linux 4.1 support
Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'target/linux/ixp4xx/patches-4.1/600-skb_avoid_dmabounce.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-4.1/600-skb_avoid_dmabounce.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/ixp4xx/patches-4.1/600-skb_avoid_dmabounce.patch b/target/linux/ixp4xx/patches-4.1/600-skb_avoid_dmabounce.patch deleted file mode 100644 index 271f6c9945..0000000000 --- a/target/linux/ixp4xx/patches-4.1/600-skb_avoid_dmabounce.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/net/core/skbuff.c -+++ b/net/core/skbuff.c -@@ -214,6 +214,9 @@ struct sk_buff *__alloc_skb(unsigned int - - if (sk_memalloc_socks() && (flags & SKB_ALLOC_RX)) - gfp_mask |= __GFP_MEMALLOC; -+#ifdef CONFIG_ARCH_IXP4XX -+ gfp_mask |= GFP_DMA; -+#endif - - /* Get the HEAD */ - skb = kmem_cache_alloc_node(cache, gfp_mask & ~__GFP_DMA, node); -@@ -1194,6 +1197,10 @@ int pskb_expand_head(struct sk_buff *skb - if (skb_shared(skb)) - BUG(); - -+#ifdef CONFIG_ARCH_IXP4XX -+ gfp_mask |= GFP_DMA; -+#endif -+ - size = SKB_DATA_ALIGN(size); - - if (skb_pfmemalloc(skb)) |