diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-05 10:49:18 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-05 15:25:07 +1030 |
commit | 0cc0cd7049f06a5ddaf38b6b268f0663c806a337 (patch) | |
tree | a5ce41f540eda1020567c28a35b541a6616ad2a2 /arch/tile | |
parent | 434ed7f4b08fb8c23bdfabbb1f9427f2ed9ec27c (diff) | |
download | op-kernel-dev-0cc0cd7049f06a5ddaf38b6b268f0663c806a337.zip op-kernel-dev-0cc0cd7049f06a5ddaf38b6b268f0663c806a337.tar.gz |
tile: fix up obsolete cpu function usage.
Thanks to spatch.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index f1f5799..776c741 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); |