summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/mips64/mips64/trap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/trap.c b/sys/arch/mips64/mips64/trap.c
index fd1de398ecb..e1b7309e1c3 100644
--- a/sys/arch/mips64/mips64/trap.c
+++ b/sys/arch/mips64/mips64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.55 2010/01/07 07:36:51 syuu Exp $ */
+/* $OpenBSD: trap.c,v 1.56 2010/01/07 20:51:04 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -215,8 +215,11 @@ trap(trapframe)
if (type != T_BREAK) {
if (ISSET(trapframe->sr, SR_INT_ENAB))
enableintr();
- else
+ else {
+#ifdef MULTIPROCESSOR
ENABLEIPI();
+#endif
+ }
}
switch (type) {