summaryrefslogtreecommitdiffstats
path: root/net/core/net-sysfs.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-02-28 19:59:45 +0100
committerIngo Molnar <mingo@elte.hu>2012-02-28 19:59:47 +0100
commita706d4fc9e56d8e46393533e0cdca2d35fa5c7e5 (patch)
tree9fcffea752514702a78a8f6177d995964761559d /net/core/net-sysfs.c
parent83b8450317a1441aef5d110cbc4102d53df9ec02 (diff)
parentc5905afb0ee6550b42c49213da1c22d67316c194 (diff)
Merge branch 'perf/jump-labels' into perf/core
Merge reason: After much naming discussion, there seems to be consensus now - queue it up for v3.4. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/core/net-sysfs.c')
-rw-r--r--net/core/net-sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index a1727cda03d..495586232aa 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -608,10 +608,10 @@ static ssize_t store_rps_map(struct netdev_rx_queue *queue,
spin_unlock(&rps_map_lock);
if (map)
- jump_label_inc(&rps_needed);
+ static_key_slow_inc(&rps_needed);
if (old_map) {
kfree_rcu(old_map, rcu);
- jump_label_dec(&rps_needed);
+ static_key_slow_dec(&rps_needed);
}
free_cpumask_var(mask);
return len;