]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64-SGI] fix the size of __sn_cnodeid_to_nasid
authorDean Roe <roe@sgi.com>
Tue, 14 Feb 2006 21:01:23 +0000 (15:01 -0600)
committerTony Luck <tony.luck@intel.com>
Wed, 15 Feb 2006 21:33:48 +0000 (13:33 -0800)
commitc2a4969ba14e852bf4ee92c7db3b0cf82405a0c9
treea79b5559260fb09525e764ab41366ff75f3f6677
parent9c65cb9be62ac4993a5b392304b82e4f04f010fd
[IA64-SGI] fix the size of __sn_cnodeid_to_nasid

The __sn_cnodeid_to_nasid array was incorrectly sized at MAX_NUMNODES.
On a large system, this array could overflow.  The following patch
corrects this by defining it to MAX_COMPACT_NODES.

Signed-off-by: Dean Roe <roe@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/setup.c
include/asm-ia64/sn/arch.h