tile: fix up obsolete cpu function usage.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Mar 2015 00:19:18 +0000 (10:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Mar 2015 04:55:07 +0000 (15:25 +1030)
Thanks to spatch.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/kernel/setup.c

index f1f57991495235dc2578048caca0b6c5be3c0beb..776c741b84a4f7c087a590318055fcab901925fd 100644 (file)
@@ -773,7 +773,7 @@ static void __init zone_sizes_init(void)
                 * though, there'll be no lowmem, so we just alloc_bootmem
                 * the memmap.  There will be no percpu memory either.
                 */
-               if (i != 0 && cpu_isset(i, isolnodes)) {
+               if (i != 0 && cpumask_test_cpu(i, &isolnodes)) {
                        node_memmap_pfn[i] =
                                alloc_bootmem_pfn(0, memmap_size, 0);
                        BUG_ON(node_percpu[i] != 0);