diff options
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/sgi-gru/grufile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/sgi-gru/grufile.c b/drivers/misc/sgi-gru/grufile.c index 6318ee5c8d50..2e574fd5d3f7 100644 --- a/drivers/misc/sgi-gru/grufile.c +++ b/drivers/misc/sgi-gru/grufile.c | |||
@@ -266,8 +266,8 @@ static int gru_init_tables(unsigned long gru_base_paddr, void *gru_base_vaddr) | |||
266 | max_user_dsr_bytes = GRU_NUM_DSR_BYTES; | 266 | max_user_dsr_bytes = GRU_NUM_DSR_BYTES; |
267 | for_each_possible_blade(bid) { | 267 | for_each_possible_blade(bid) { |
268 | pnode = uv_blade_to_pnode(bid); | 268 | pnode = uv_blade_to_pnode(bid); |
269 | nid = uv_blade_to_memory_nid(bid); | 269 | nid = uv_blade_to_memory_nid(bid);/* -1 if no memory on blade */ |
270 | page = alloc_pages_exact_node(nid, GFP_KERNEL, order); | 270 | page = alloc_pages_node(nid, GFP_KERNEL, order); |
271 | if (!page) | 271 | if (!page) |
272 | goto fail; | 272 | goto fail; |
273 | gru_base[bid] = page_address(page); | 273 | gru_base[bid] = page_address(page); |