diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 10:14:39 -0500 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 09:48:27 -0400 |
commit | 0352bc550cfa536e4fa2c0e906359bcd5687afff (patch) | |
tree | feab743c3daede9642cde40c2f4e5e429b0652f8 /net | |
parent | 9b04c5fec43c0da610a2c37f70c5b013101a6ad7 (diff) |
net: remove the second argument of k[un]map_atomic()
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/kmap_skb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/kmap_skb.h b/net/core/kmap_skb.h index 81e1ed7c8383..52d0a4459041 100644 --- a/net/core/kmap_skb.h +++ b/net/core/kmap_skb.h | |||
@@ -7,12 +7,12 @@ static inline void *kmap_skb_frag(const skb_frag_t *frag) | |||
7 | 7 | ||
8 | local_bh_disable(); | 8 | local_bh_disable(); |
9 | #endif | 9 | #endif |
10 | return kmap_atomic(skb_frag_page(frag), KM_SKB_DATA_SOFTIRQ); | 10 | return kmap_atomic(skb_frag_page(frag)); |
11 | } | 11 | } |
12 | 12 | ||
13 | static inline void kunmap_skb_frag(void *vaddr) | 13 | static inline void kunmap_skb_frag(void *vaddr) |
14 | { | 14 | { |
15 | kunmap_atomic(vaddr, KM_SKB_DATA_SOFTIRQ); | 15 | kunmap_atomic(vaddr); |
16 | #ifdef CONFIG_HIGHMEM | 16 | #ifdef CONFIG_HIGHMEM |
17 | local_bh_enable(); | 17 | local_bh_enable(); |
18 | #endif | 18 | #endif |