Commit 2142c131a3e290ae350f8a0b0d354c0585a96df1

Authored by KOSAKI Motohiro
Committed by David S. Miller
1 parent 5173cc0577

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

net/core/net-sysfs.c
... ... @@ -964,7 +964,7 @@
964 964 } else
965 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 968 #ifdef CONFIG_NUMA
969 969 if (need_set) {
970 970 if (numa_node == -2)