diff options
| author | Mark Murray <markm@FreeBSD.org> | 2002-09-21 19:03:42 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2002-09-21 19:03:42 +0000 |
| commit | 181cb2165ae9fb010f39829637371f5e27c3667a (patch) | |
| tree | 5fcd6ae317bd1a61d8f02d6cd6d69cb7721e797c | |
| parent | e40ab3e98ef7a8da9737899904d1f744c011e782 (diff) | |
Notes
| -rw-r--r-- | sys/i386/i386/mpapic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/i386/mpapic.c b/sys/i386/i386/mpapic.c index 85346bf6fff5..6886b4f911c6 100644 --- a/sys/i386/i386/mpapic.c +++ b/sys/i386/i386/mpapic.c @@ -32,6 +32,7 @@ #include <sys/mutex.h> #include <sys/proc.h> +#include <machine/cpufunc.h> #include <machine/smptests.h> /** TEST_TEST1 */ #include <machine/smp.h> #include <machine/mpapic.h> @@ -567,7 +568,7 @@ apic_ipi_singledest(int cpu, int vector, int delivery_mode) #endif /* DETECT_DEADLOCK */ eflags = read_eflags(); - __asm __volatile("cli" : : : "memory"); + disable_intr(); icr_hi = lapic.icr_hi & ~APIC_ID_MASK; icr_hi |= (CPU_TO_ID(cpu) << 24); lapic.icr_hi = icr_hi; |
