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 <[email protected]>
Attachment:
setup_c.diff
Description: setup_c.diff
- Follow-Ups:
- Re: [PATCH] x86_64: store Socket ID in phys_proc_id
- From: "Yinghai Lu" <[email protected]>
- Re: [PATCH] x86_64: store Socket ID in phys_proc_id
- Prev by Date: Re: Fwd: [PATCH] x86_64: typo in __assign_irq_vector when update pos for vector and offset
- Next by Date: Re: [PATCH] i386 Time: Avoid PIT SMP lockups
- Previous by thread: VCD not readable under 2.6.18
- Next by thread: Re: [PATCH] x86_64: store Socket ID in phys_proc_id
- Index(es):