page allocator: do not check NUMA node ID when the caller knows the node is valid
[deliverable/linux.git] / drivers / misc / sgi-gru / grufile.c
index bbefe77c67a93dd4f88ae2c5e139f2405986eb2c..3ce2920e2bf3fb4f37b0223ec2fa7f23bb23a0e0 100644 (file)
@@ -302,7 +302,7 @@ static int gru_init_tables(unsigned long gru_base_paddr, void *gru_base_vaddr)
                pnode = uv_node_to_pnode(nid);
                if (bid < 0 || gru_base[bid])
                        continue;
-               page = alloc_pages_node(nid, GFP_KERNEL, order);
+               page = alloc_pages_exact_node(nid, GFP_KERNEL, order);
                if (!page)
                        goto fail;
                gru_base[bid] = page_address(page);
This page took 0.033765 seconds and 5 git commands to generate.