mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
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>
This commit is contained in:
parent
5173cc0577
commit
2142c131a3
1 changed files with 1 additions and 1 deletions
|
@ -964,7 +964,7 @@ static ssize_t store_xps_map(struct netdev_queue *queue,
|
|||
} else
|
||||
pos = map_len = alloc_len = 0;
|
||||
|
||||
need_set = cpu_isset(cpu, *mask) && cpu_online(cpu);
|
||||
need_set = cpumask_test_cpu(cpu, mask) && cpu_online(cpu);
|
||||
#ifdef CONFIG_NUMA
|
||||
if (need_set) {
|
||||
if (numa_node == -2)
|
||||
|
|
Loading…
Reference in a new issue