summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-08-10 17:04:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-08-10 17:04:40 +0000
commit2cd383288d2a6556fe0d26922bff9bdcca15b396 (patch)
tree163fa28bb11a00ee368bbf10b98896767ba25d4b /sys/arch/amd64
parent7120db3a51ce92d8b639eabe95a01b8003d7193c (diff)
use splhigh instead of splclock to block in the i386_ipi
fixes stability problems on some machines; ie. crashes in in cpu_idle_cycle from netbsd, via dhill
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/lapic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/lapic.c b/sys/arch/amd64/amd64/lapic.c
index ba7eaea02d9..c1fab756130 100644
--- a/sys/arch/amd64/amd64/lapic.c
+++ b/sys/arch/amd64/amd64/lapic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lapic.c,v 1.21 2009/06/09 02:56:38 krw Exp $ */
+/* $OpenBSD: lapic.c,v 1.22 2009/08/10 17:04:37 deraadt Exp $ */
/* $NetBSD: lapic.c,v 1.2 2003/05/08 01:04:35 fvdl Exp $ */
/*-
@@ -481,7 +481,7 @@ x86_ipi(int vec, int target, int dl)
{
int result, s;
- s = splclock();
+ s = splhigh();
i82489_icr_wait();