/* Intel recommends to set DFR, LDR and TPR before enabling an APIC. See e.g. "AP-388 82489DX User's Manual" (Intel document number 292116). So here it goes...  */
static void bigsmp_init_apic_ldr(void)
/* Intel recommends to set DFR, LDR and TPR before enabling an APIC. See e.g. "AP-388 82489DX User's Manual" (Intel document number 292116). So here it goes...  */
static void bigsmp_init_apic_ldr(void)
{
	unsigned long val;
	int cpu = smp_processor_id();
	apic_write(APIC_DFR, APIC_DFR_FLAT);
	val = calculate_ldr(cpu);
	apic_write(APIC_LDR, val);
}