summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sun/cassini.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 23:14:23 +0800
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 21:48:19 +0800
commit4679026d783eb5ac90247bc466d66b817b213abf (patch)
tree214b17ed79aaa5f20acb5b2a56a94cb2bc740b98 /drivers/net/ethernet/sun/cassini.c
parenteb3f06209412266f25c735db0b7699babf5fef9e (diff)
downloadlwn-4679026d783eb5ac90247bc466d66b817b213abf.tar.gz
lwn-4679026d783eb5ac90247bc466d66b817b213abf.zip
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 'drivers/net/ethernet/sun/cassini.c')
-rw-r--r--drivers/net/ethernet/sun/cassini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/sun/cassini.c
index f10665f594c4..f459c3a54023 100644
--- a/drivers/net/ethernet/sun/cassini.c
+++ b/drivers/net/ethernet/sun/cassini.c
@@ -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)