Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227832
b: refs/heads/master
c: 05f2f27
h: refs/heads/master
v: v3
  • Loading branch information
Tony Luck committed Jan 7, 2011
1 parent aa92c40 commit 61cbb2f
Show file tree
Hide file tree
Showing 2 changed files with 7 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: e7d282535c94cddc208c03b7cd0815f70d676a0e
refs/heads/master: 05f2f274c8a8747bbfb13ac8ee0c27d5f2ad8510
6 changes: 6 additions & 0 deletions trunk/arch/ia64/kernel/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,12 @@ acpi_numa_processor_affinity_init(struct acpi_srat_cpu_affinity *pa)
if (!(pa->flags & ACPI_SRAT_CPU_ENABLED))
return;

if (srat_num_cpus >= ARRAY_SIZE(node_cpuid)) {
printk_once(KERN_WARNING
"node_cpuid[%d] is too small, may not be able to use all cpus\n",
ARRAY_SIZE(node_cpuid));
return;
}
pxm = get_processor_proximity_domain(pa);

/* record this node in proximity bitmap */
Expand Down

0 comments on commit 61cbb2f

Please sign in to comment.