From: Rusty Russell Date: Thu, 5 Mar 2015 00:19:18 +0000 (+1030) Subject: tile: fix up obsolete cpu function usage. X-Git-Tag: v4.1-rc1~71^2~16 X-Git-Url: https://git.kernel.dk/?p=linux-2.6-block.git;a=commitdiff_plain;h=0cc0cd7049f06a5ddaf38b6b268f0663c806a337 tile: fix up obsolete cpu function usage. Thanks to spatch. Signed-off-by: Rusty Russell Cc: Chris Metcalf --- diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index f1f579914952..776c741b84a4 100644 --- a/arch/tile/kernel/setup.c +++ b/arch/tile/kernel/setup.c @@ -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);