diff options
author | Christoph Lameter <cl@linux.com> | 2014-08-17 12:30:35 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-26 13:45:47 -0400 |
commit | 903ceff7ca7b4d80c083a80ee5163b74e9fa359f (patch) | |
tree | 60c82f70f9d58720042bb3249eb6fa9f89fe9025 /net/core/drop_monitor.c | |
parent | f7f66b05aa2ac2632c5441a3f129f3be827fe7e7 (diff) | |
download | linux-stable-903ceff7ca7b4d80c083a80ee5163b74e9fa359f.tar.gz linux-stable-903ceff7ca7b4d80c083a80ee5163b74e9fa359f.tar.bz2 linux-stable-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/core/drop_monitor.c')
-rw-r--r-- | net/core/drop_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/drop_monitor.c b/net/core/drop_monitor.c index 50f9a9db5792..252e155c837b 100644 --- a/net/core/drop_monitor.c +++ b/net/core/drop_monitor.c @@ -146,7 +146,7 @@ static void trace_drop_common(struct sk_buff *skb, void *location) unsigned long flags; local_irq_save(flags); - data = &__get_cpu_var(dm_cpu_data); + data = this_cpu_ptr(&dm_cpu_data); spin_lock(&data->lock); dskb = data->skb; |