]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit695872b4db1f04b132bbecfbbcade1149b79a4f8
treee7f77584170b98226f02b9ed45863e6f0eb3409e
parenteae28c1f036233d650ab0ab7fb6c87fdb67f3b79
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