From: Tomas Hruby Date: Wed, 13 Apr 2011 16:57:43 +0000 (+0000) Subject: SMP - INIT IPI deasserting fix X-Git-Tag: v3.2.0~577 X-Git-Url: http://zhaoyanbai.com/repos/doc/mandoc_char.7.html?a=commitdiff_plain;h=dc8ee363dbc193db3d777eed0b8c54a714f1090e;p=minix.git SMP - INIT IPI deasserting fix When deasserting the INIT IPI the DM field must be zero --- diff --git a/kernel/arch/i386/apic.c b/kernel/arch/i386/apic.c index 4f04b8ef5..d0790fa55 100644 --- a/kernel/arch/i386/apic.c +++ b/kernel/arch/i386/apic.c @@ -1057,7 +1057,7 @@ PUBLIC int apic_send_init_ipi(unsigned cpu, phys_bytes trampoline) lapic_write(LAPIC_ICR2, (lapic_read (LAPIC_ICR2) & 0xFFFFFF) | (cpuid2apicid[cpu] << 24)); lapic_write(LAPIC_ICR1, (lapic_read (LAPIC_ICR1) & 0xFFF32000) | - APIC_ICR_DEST_ALL | APIC_ICR_TM_LEVEL | APIC_ICR_DM_INIT); + APIC_ICR_DEST_ALL | APIC_ICR_TM_LEVEL); timeout = 1000; errstatus = 0;