]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] fix bug in sn/ia64 for sparse CPU numbering
authorhawkes@sgi.com <hawkes@sgi.com>
Fri, 18 Nov 2005 19:30:34 +0000 (11:30 -0800)
committerTony Luck <tony.luck@intel.com>
Mon, 21 Nov 2005 22:15:42 +0000 (14:15 -0800)
commit7b215448e2b2a0ba5a1406c984602d4a206b3185
tree531288885c524904bf5baa4e7dadc4048fee3fd9
parentca99e03cfd91665bf01dbdeb94cdef97439dfd20
[IA64] fix bug in sn/ia64 for sparse CPU numbering

The kernel's use of the for_each_*cpu(i) macros has allowed for sparse CPU
numbering.  When I hacked the kernel to test sparse cpu_present_map[] and
cpu_possible_map[] cpumasks, I discovered one remaining spot, in
sn_hwperf_ioctl() during sn initialization, that needs to be fixed.

Signed-off-by: John Hawkes <hawkes@sgi.com>
Signed-off-by: Dean Roe <roe@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/sn2/sn_hwperf.c