Commit 9b0f5d63 authored by Chris Metcalf's avatar Chris Metcalf

tile: properly use node_isset() on a nodemask_t

The code accidentally used cpu_isset() previously in one place
(though properly node_isset() elsewhere).
Signed-off-by: default avatarChris Metcalf <cmetcalf@ezchip.com>
parent b787f68c
...@@ -774,7 +774,7 @@ static void __init zone_sizes_init(void) ...@@ -774,7 +774,7 @@ static void __init zone_sizes_init(void)
* though, there'll be no lowmem, so we just alloc_bootmem * though, there'll be no lowmem, so we just alloc_bootmem
* the memmap. There will be no percpu memory either. * the memmap. There will be no percpu memory either.
*/ */
if (i != 0 && cpumask_test_cpu(i, &isolnodes)) { if (i != 0 && node_isset(i, isolnodes)) {
node_memmap_pfn[i] = node_memmap_pfn[i] =
alloc_bootmem_pfn(0, memmap_size, 0); alloc_bootmem_pfn(0, memmap_size, 0);
BUG_ON(node_percpu[i] != 0); BUG_ON(node_percpu[i] != 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment