summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-03-05 10:49:18 +1030
committerRusty Russell <rusty@rustcorp.com.au>2015-03-05 15:25:07 +1030
commit0cc0cd7049f06a5ddaf38b6b268f0663c806a337 (patch)
treea5ce41f540eda1020567c28a35b541a6616ad2a2 /arch
parent434ed7f4b08fb8c23bdfabbb1f9427f2ed9ec27c (diff)
downloadblackbird-obmc-linux-0cc0cd7049f06a5ddaf38b6b268f0663c806a337.tar.gz
blackbird-obmc-linux-0cc0cd7049f06a5ddaf38b6b268f0663c806a337.zip
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')
-rw-r--r--arch/tile/kernel/setup.c2
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)
* 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);
OpenPOWER on IntegriCloud