OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b04c5f
)
net: remove the second argument of k[un]map_atomic()
author
Cong Wang
<amwang@redhat.com>
Fri, 25 Nov 2011 15:14:39 +0000
(23:14 +0800)
committer
Cong Wang
<xiyou.wangcong@gmail.com>
Tue, 20 Mar 2012 13:48:27 +0000
(21:48 +0800)
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
net/core/kmap_skb.h
patch
|
blob
|
history
diff --git
a/net/core/kmap_skb.h
b/net/core/kmap_skb.h
index
81e1ed7
..
52d0a44
100644
(file)
--- 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)
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