/* Determine the apicid of the first cpu on a blade.  */
static int __init blade_to_first_apicid(int blade)
/* Determine the apicid of the first cpu on a blade.  */
static int __init blade_to_first_apicid(int blade)
{
	int cpu;
	for_each_present_cpu(cpu)
		if (blade == uv_cpu_to_blade_id(cpu))
			return per_cpu(x86_cpu_to_apicid, cpu);
	return -1;
}