[PATCH] x86_64: store Socket ID in phys_proc_id

From: Lu, Yinghai
Date: Mon Oct 16 2006 - 15:07:35 EST


Current code store phys_proc_id with init APIC ID, and later will change
to apicid>>bits.

So for the apic id lifted system, for example BSP with apicid 0x10, the
phys_proc_id will be 8.

This patch use initial APIC ID to get Socket ID.

It also removed ht_nodeid calculating, because We already have correct
socket id for sure.

Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx>


Attachment: setup_c.diff
Description: setup_c.diff