x86, UV: Fix APICID shift for Westmere processors
[pandora-kernel.git] / arch / x86 / kernel / apic / x2apic_uv_x.c
index 2a3f2a7..f4f9e95 100644 (file)
@@ -378,7 +378,7 @@ struct apic __refdata apic_x2apic_uv_x = {
 
 static __cpuinit void set_x2apic_extra_bits(int pnode)
 {
-       __get_cpu_var(x2apic_extra_bits) = (pnode << 6);
+       __get_cpu_var(x2apic_extra_bits) = (pnode << uvh_apicid.s.pnode_shift);
 }
 
 /*