aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2011-05-16 14:53:49 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-16 14:53:49 -0400
commit2142c131a3e290ae350f8a0b0d354c0585a96df1 (patch)
treebf241d3726737ea9c233138f4b8787edd89f7892 /net
parent5173cc057787560c127c6e9737f308c833dc4ff3 (diff)
net: convert to new cpumask API
We plan to remove cpu_xx() old api later. Thus this patch convert it. This patch has no functional change. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/net-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index 381813eae46c..1b122177c8fa 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -964,7 +964,7 @@ static ssize_t store_xps_map(struct netdev_queue *queue,
964 } else 964 } else
965 pos = map_len = alloc_len = 0; 965 pos = map_len = alloc_len = 0;
966 966
967 need_set = cpu_isset(cpu, *mask) && cpu_online(cpu); 967 need_set = cpumask_test_cpu(cpu, mask) && cpu_online(cpu);
968#ifdef CONFIG_NUMA 968#ifdef CONFIG_NUMA
969 if (need_set) { 969 if (need_set) {
970 if (numa_node == -2) 970 if (numa_node == -2)