From: KOSAKI Motohiro Date: Mon, 16 May 2011 18:53:49 +0000 (-0700) Subject: net: convert to new cpumask API X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2142c131a3e290ae350f8a0b0d354c0585a96df1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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, } 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)