diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2005-09-15 19:02:01 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2005-09-15 19:02:01 +0000 |
| commit | b7b51ed01dae1eb52d133cdc2833779e17a40f87 (patch) | |
| tree | 6b40be3302d2268566b2db4274bcd7cb835e5235 /sys | |
| parent | 525e6a870ea1ab200a2eba60348dd42d8dca78b0 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/i386/i386/local_apic.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/i386/i386/local_apic.c b/sys/i386/i386/local_apic.c index df4d1debf477..1e0132cd1eec 100644 --- a/sys/i386/i386/local_apic.c +++ b/sys/i386/i386/local_apic.c @@ -324,7 +324,7 @@ lapic_setup(void) lapic_timer_enable_intr(); } - /* XXX: Performance counter, error, and thermal LVTs */ + /* XXX: Error and thermal LVTs */ intr_restore(eflags); } @@ -928,8 +928,12 @@ lapic_ipi_vectored(u_int vector, int dest) } /* Wait for an earlier IPI to finish. */ - if (!lapic_ipi_wait(BEFORE_SPIN)) - panic("APIC: Previous IPI is stuck"); + if (!lapic_ipi_wait(BEFORE_SPIN)) { + if (panicstr != NULL) + return; + else + panic("APIC: Previous IPI is stuck"); + } lapic_ipi_raw(icrlo, destfield); |
