Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136747
b: refs/heads/master
c: 44581a2
h: refs/heads/master
i:
  136745: 1468211
  136743: 0ba298d
v: v3
  • Loading branch information
Brian Gerst authored and Ingo Molnar committed Feb 9, 2009
1 parent f41c356 commit 3aab2ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 2add8e235cbe0dcd672c33fc322754e15500238c
refs/heads/master: 44581a28e805a31661469c4b466b9cd14b36e7b6
4 changes: 2 additions & 2 deletions trunk/arch/x86/mm/numa_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ void __cpuinit numa_set_node(int cpu, int node)
}

#ifdef CONFIG_DEBUG_PER_CPU_MAPS
if (cpu >= nr_cpu_ids || !per_cpu_offset(cpu)) {
if (cpu >= nr_cpu_ids || !cpu_possible(cpu)) {
printk(KERN_ERR "numa_set_node: invalid cpu# (%d)\n", cpu);
dump_stack();
return;
Expand Down Expand Up @@ -790,7 +790,7 @@ int early_cpu_to_node(int cpu)
if (early_per_cpu_ptr(x86_cpu_to_node_map))
return early_per_cpu_ptr(x86_cpu_to_node_map)[cpu];

if (!per_cpu_offset(cpu)) {
if (!cpu_possible(cpu)) {
printk(KERN_WARNING
"early_cpu_to_node(%d): no per_cpu area!\n", cpu);
dump_stack();
Expand Down

0 comments on commit 3aab2ab

Please sign in to comment.