Skip to content
Snippets Groups Projects
Commit 0cc0cd70 authored by Rusty Russell's avatar Rusty Russell
Browse files

tile: fix up obsolete cpu function usage.


Thanks to spatch.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
parent 434ed7f4
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment