x86/uv: fix init of cpu-less nodes
authorJack Steiner <steiner@sgi.com>
Fri, 17 Apr 2009 14:24:47 +0000 (09:24 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 17 Apr 2009 20:43:11 +0000 (22:43 +0200)
commit27229ca63269c1be0a710f074fa9de4024f283f1
treee7f77584170b98226f02b9ed45863e6f0eb3409e
parentdc098551918093901d8ac8936e9d1a1b891b56ed
x86/uv: fix init of cpu-less nodes

Fix an endcase in the UV initialization code for the "UV large system mode"
of apicids.  If node zero contains no cpus, cpus on another node will be the
boot cpu.  The percpu data that contains the extra apicid bits was not
being initialized early enough.

[ Impact: fix potential boot crash on cpu-less UV nodes ]

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