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>
This commit is contained in:
parent
9b04c5fec4
commit
0352bc550c
|
@ -7,12 +7,12 @@ static inline void *kmap_skb_frag(const skb_frag_t *frag)
|
||||||
|
|
||||||
local_bh_disable();
|
local_bh_disable();
|
||||||
#endif
|
#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)
|
static inline void kunmap_skb_frag(void *vaddr)
|
||||||
{
|
{
|
||||||
kunmap_atomic(vaddr, KM_SKB_DATA_SOFTIRQ);
|
kunmap_atomic(vaddr);
|
||||||
#ifdef CONFIG_HIGHMEM
|
#ifdef CONFIG_HIGHMEM
|
||||||
local_bh_enable();
|
local_bh_enable();
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in New Issue