]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net: remove the second argument of k[un]map_atomic()
authorCong Wang <amwang@redhat.com>
Fri, 25 Nov 2011 15:14:39 +0000 (23:14 +0800)
committerCong Wang <amwang@redhat.com>
Fri, 2 Dec 2011 03:13:02 +0000 (11:13 +0800)
net/core/kmap_skb.h

index 81e1ed7c838396e9e18a772447304284dbe81d5a..52d0a4459041b366210b7347854ddff4abcfb3c4 100644 (file)
@@ -7,12 +7,12 @@ static inline void *kmap_skb_frag(const skb_frag_t *frag)
 
        local_bh_disable();
 #endif
-       return kmap_atomic(skb_frag_page(frag), KM_SKB_DATA_SOFTIRQ);
+       return kmap_atomic(skb_frag_page(frag));
 }
 
 static inline void kunmap_skb_frag(void *vaddr)
 {
-       kunmap_atomic(vaddr, KM_SKB_DATA_SOFTIRQ);
+       kunmap_atomic(vaddr);
 #ifdef CONFIG_HIGHMEM
        local_bh_enable();
 #endif