]> err.no Git - linux-2.6/commit
[IA64-SGI] SN topology fix for large systems
authorJack Steiner <steiner@sgi.com>
Wed, 31 May 2006 13:58:08 +0000 (08:58 -0500)
committerTony Luck <tony.luck@intel.com>
Wed, 21 Jun 2006 21:33:56 +0000 (14:33 -0700)
commita1d7057727bc9e20a0a417812f538fe6b8a02c03
treebd3627eb3ea4b916dd1de521c341b92e3444f4dd
parent5eb1d63f5fc8455269c2756223b3cf3779fd2f7a
[IA64-SGI] SN topology fix for large systems

There is an SN bug in sn_hwperf.c that affects systems with 1024n or 1024p.
The bug manifests itself 2 ways: IO interrupts are not always
targeted to the nearest node, and 2) the "cat /proc/sgi_sn/sn_topology"
commands fails with "cannot allocate memory".

The code is using the wrong macros for validating node numbers.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/sn2/sn_hwperf.c