]> err.no Git - linux-2.6/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)
commit090de0b77ceed1f1d05883fa744760f0c65d9c31
tree531288885c524904bf5baa4e7dadc4048fee3fd9
parent9ad4f924ecd9c067a22a64699bcf4eaad1935a61
[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