Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24610
b: refs/heads/master
c: 069007a
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Paul Mackerras committed Mar 27, 2006
1 parent de589e9 commit fe5978f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6088857b169c64e6e9672a2a66e76db3e957d5db
refs/heads/master: 069007ae07ab9286fbe42e9a66b78e184f752a05
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,7 @@ int hot_add_scn_to_nid(unsigned long scn_addr)
struct device_node *memory = NULL;
nodemask_t nodes;
int default_nid = any_online_node(NODE_MASK_ALL);
int nid;

if (!numa_enabled || (min_common_depth < 0))
return default_nid;
Expand Down Expand Up @@ -790,6 +791,7 @@ int hot_add_scn_to_nid(unsigned long scn_addr)
goto ha_new_range;
}
BUG(); /* section address should be found above */
return 0;

/* Temporary code to ensure that returned node is not empty */
got_nid:
Expand Down

0 comments on commit fe5978f

Please sign in to comment.