x86, UV: Fix initialization of max_pnode
authorJack Steiner <steiner@sgi.com>
Fri, 10 Sep 2010 15:08:08 +0000 (10:08 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Sep 2010 15:15:49 +0000 (17:15 +0200)
commit36ac4b987bea9a95217e1af552252f275ca7fc44
tree9dbee9d347cd58bf776be39c98f83d8079fa8f6d
parentdf423dc7f2a801b9a45d7c501a8eb5c529455ea1
x86, UV: Fix initialization of max_pnode

Fix calculation of "max_pnode" for systems where the the highest
blade has neither cpus or memory. (And, yes, although rare this
does occur).

Signed-off-by: Jack Steiner <steiner@sgi.com>
LKML-Reference: <20100910150808.GA19802@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/x2apic_uv_x.c