summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-01-07 20:51:05 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-01-07 20:51:05 +0000
commit46a4804a318e98fa797a71a43240f2fc521f38f0 (patch)
tree1f3c323c061e9026aebc8b571ca997c6989d7e0c
parent2fc6a460bafbc461710b32fce65ab9a2247d23f9 (diff)
Repair non-MULTIPROCESSOR kernel compilation.
-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) {