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:
@@ -104,8 +104,8 @@
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
#define cas_page_map(x) kmap_atomic((x), KM_SKB_DATA_SOFTIRQ)
|
||||
#define cas_page_unmap(x) kunmap_atomic((x), KM_SKB_DATA_SOFTIRQ)
|
||||
#define cas_page_map(x) kmap_atomic((x))
|
||||
#define cas_page_unmap(x) kunmap_atomic((x))
|
||||
#define CAS_NCPUS num_online_cpus()
|
||||
|
||||
#define cas_skb_release(x) netif_rx(x)
|
||||
|
Reference in New Issue
Block a user