diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-04 19:19:18 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-04 23:55:07 -0500 |
commit | 0cc0cd7049f06a5ddaf38b6b268f0663c806a337 (patch) | |
tree | a5ce41f540eda1020567c28a35b541a6616ad2a2 /arch/tile | |
parent | 434ed7f4b08fb8c23bdfabbb1f9427f2ed9ec27c (diff) |
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 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) | |||
773 | * though, there'll be no lowmem, so we just alloc_bootmem | 773 | * though, there'll be no lowmem, so we just alloc_bootmem |
774 | * the memmap. There will be no percpu memory either. | 774 | * the memmap. There will be no percpu memory either. |
775 | */ | 775 | */ |
776 | if (i != 0 && cpu_isset(i, isolnodes)) { | 776 | if (i != 0 && cpumask_test_cpu(i, &isolnodes)) { |
777 | node_memmap_pfn[i] = | 777 | node_memmap_pfn[i] = |
778 | alloc_bootmem_pfn(0, memmap_size, 0); | 778 | alloc_bootmem_pfn(0, memmap_size, 0); |
779 | BUG_ON(node_percpu[i] != 0); | 779 | BUG_ON(node_percpu[i] != 0); |