diff options
author | Christoph Lameter <cl@linux.com> | 2014-08-17 19:30:35 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-26 19:45:47 +0200 |
commit | 903ceff7ca7b4d80c083a80ee5163b74e9fa359f (patch) | |
tree | 60c82f70f9d58720042bb3249eb6fa9f89fe9025 /net/rds/ib_rdma.c | |
parent | watchdog: Replace __raw_get_cpu_var uses (diff) | |
download | linux-903ceff7ca7b4d80c083a80ee5163b74e9fa359f.tar.xz linux-903ceff7ca7b4d80c083a80ee5163b74e9fa359f.zip |
net: Replace get_cpu_var through this_cpu_ptr
Replace uses of get_cpu_var for address calculation through this_cpu_ptr.
Cc: netdev@vger.kernel.org
Cc: Eric Dumazet <edumazet@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'net/rds/ib_rdma.c')
-rw-r--r-- | net/rds/ib_rdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c index e8fdb172adbb..273b8bff6ba4 100644 --- a/net/rds/ib_rdma.c +++ b/net/rds/ib_rdma.c @@ -267,7 +267,7 @@ static inline struct rds_ib_mr *rds_ib_reuse_fmr(struct rds_ib_mr_pool *pool) unsigned long *flag; preempt_disable(); - flag = &__get_cpu_var(clean_list_grace); + flag = this_cpu_ptr(&clean_list_grace); set_bit(CLEAN_LIST_BUSY_BIT, flag); ret = llist_del_first(&pool->clean_list); if (ret) |