]> err.no Git - linux-2.6/commit
[IA64-SGI] fix for-loop in sn_hwperf_geoid_to_cnode()
authorDean Roe <roe@sgi.com>
Mon, 6 Mar 2006 16:32:05 +0000 (10:32 -0600)
committerTony Luck <tony.luck@intel.com>
Tue, 28 Mar 2006 16:39:10 +0000 (08:39 -0800)
commit769ebc66dec24770ea1e99019099d2bc636a61d3
tree7ff5ac2a9eea5a7def26f32ad8ffd06b367ed8e0
parente6ef0fca2c61f7e773178be8c3833a709a47e022
[IA64-SGI] fix for-loop in sn_hwperf_geoid_to_cnode()

Fix a for-loop in sn_hwperf_geoid_to_cnode().  It needs to loop over
num_cnodes to ensure it can still process TIO nodes in addition to
compute nodes on systems with many nodes.  Interim fix until better
support for many (>265) nodes is complete.

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