Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234838
b: refs/heads/master
c: 14392fd
h: refs/heads/master
v: v3
  • Loading branch information
David Rientjes authored and Ingo Molnar committed Feb 14, 2011
1 parent d447ace commit 6781e85
Show file tree
Hide file tree
Showing 3 changed files with 9 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: b366801c95bdbeda811ac9668a3943051a18c188
refs/heads/master: 14392fd329eca9b59d51c0aa5d0acfb4965424d1
4 changes: 4 additions & 0 deletions trunk/arch/x86/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ struct cpumask __cpuinit *debug_cpumask_set_cpu(int cpu, int enable)
struct cpumask *mask;
char buf[64];

if (node == NUMA_NO_NODE) {
/* early_cpu_to_node() already emits a warning and trace */
return NULL;
}
mask = node_to_cpumask_map[node];
if (!mask) {
pr_err("node_to_cpumask_map[%i] NULL\n", node);
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/x86/mm/numa_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,10 @@ static void __cpuinit numa_set_cpumask(int cpu, int enable)
struct cpumask *mask;
int i;

if (node == NUMA_NO_NODE) {
/* early_cpu_to_node() already emits a warning and trace */
return;
}
for_each_online_node(i) {
unsigned long addr;

Expand Down

0 comments on commit 6781e85

Please sign in to comment.