Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356533
b: refs/heads/master
c: 4d59a75
h: refs/heads/master
i:
  356531: 58860ed
v: v3
  • Loading branch information
Yasuaki Ishimatsu authored and Linus Torvalds committed Feb 24, 2013
1 parent bc67a05 commit 7e8eb7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa00d89c2780d72d082a015e8cbb751e65fb30ee
refs/heads/master: 4d59a75125d5a4717e57e9fc62c64b3d346e603e
5 changes: 2 additions & 3 deletions trunk/arch/x86/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,9 @@ static void __init setup_node_data(int nid, u64 start, u64 end)
* Allocate node data. Try node-local memory and then any node.
* Never allocate in DMA zone.
*/
nd_pa = memblock_alloc_nid(nd_size, SMP_CACHE_BYTES, nid);
nd_pa = memblock_alloc_try_nid(nd_size, SMP_CACHE_BYTES, nid);
if (!nd_pa) {
pr_err("Cannot find %zu bytes in node %d\n",
nd_size, nid);
pr_err("Cannot find %zu bytes in any node\n", nd_size);
return;
}
nd = __va(nd_pa);
Expand Down

0 comments on commit 7e8eb7f

Please sign in to comment.