summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/xbow/xheart.c
diff options
context:
space:
mode:
authorTakuya ASADA <syuu@cvs.openbsd.org>2009-11-26 23:32:47 +0000
committerTakuya ASADA <syuu@cvs.openbsd.org>2009-11-26 23:32:47 +0000
commit88462ef42deba06babae67a1c50b91f60063a010 (patch)
tree419fa11aee0c410639add45ddd52eb6b29278a2d /sys/arch/sgi/xbow/xheart.c
parent8b11e1432e0e80298847a164b1d8792a92603605 (diff)
Now IPI can interrupt to clock interrupt handler.
It prevents deadlock with TLB shootdown and clock interrupt. ok miod@
Diffstat (limited to 'sys/arch/sgi/xbow/xheart.c')
-rw-r--r--sys/arch/sgi/xbow/xheart.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/xbow/xheart.c b/sys/arch/sgi/xbow/xheart.c
index eb2075d4866..88b0f640cb7 100644
--- a/sys/arch/sgi/xbow/xheart.c
+++ b/sys/arch/sgi/xbow/xheart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xheart.c,v 1.18 2009/11/25 17:39:51 syuu Exp $ */
+/* $OpenBSD: xheart.c,v 1.19 2009/11/26 23:32:46 syuu Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
@@ -89,8 +89,8 @@ struct intrhand *xheart_intrhand[HEART_NINTS];
#define INTPRI_HEART_1 (INTPRI_HEART_2 + 1)
#define INTPRI_HEART_0 (INTPRI_HEART_1 + 1)
#else
-#define INTPRI_HEART_2 (INTPRI_CLOCK + 1)
-#define INTPRI_HEART_0 (INTPRI_HEART_2 + 1)
+#define INTPRI_HEART_2 (INTPRI_IPI)
+#define INTPRI_HEART_0 (INTPRI_CLOCK + 1)
#endif
#define INTPRI_HEART_LEDS (INTPRI_HEART_0 + 1)