commit | 05f2f274c8a8747bbfb13ac8ee0c27d5f2ad8510 | [log] [tgz] |
---|---|---|
author | Tony Luck <tony.luck@intel.com> | Fri Jan 07 09:11:55 2011 -0800 |
committer | Tony Luck <tony.luck@intel.com> | Fri Jan 07 09:11:55 2011 -0800 |
tree | 26626f1f78d12fbe179bfeb9b7c1fecdac1d8c93 | |
parent | e7d282535c94cddc208c03b7cd0815f70d676a0e [diff] |
[IA64] Avoid array overflow if there are too many cpus in SRAT table acpi_numa_init() has to parse the whole SRAT table, even if the kernel wants to limit the number of cpus it will use (because the ones it is going to use may be described by entries at the end of the SRAT table). Avoid overflowing the node_cpuid array. Reported-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Tony Luck <tony.luck@intel.com>