/* Supporting over 60 cpus on NUMA-Q requires a locality-dependent cpu to APIC ID relation to properly interact with the intelligent mode of the cluster controller.  */
static int numaq_cpu_present_to_apicid(int mps_cpu)
/* Supporting over 60 cpus on NUMA-Q requires a locality-dependent cpu to APIC ID relation to properly interact with the intelligent mode of the cluster controller.  */
static int numaq_cpu_present_to_apicid(int mps_cpu)
{
	if (mps_cpu < 60)
		return ((mps_cpu >> 2) << 4) | (1 << (mps_cpu & 0x3));
	else
		return BAD_APICID;
}