summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-01-01 23:19:21 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-01-01 23:19:21 +0000
commit948ab75bf9a218a09abdf43a1310b4d4f9cf4d6b (patch)
tree632d0792cfb78989fa889ad44745d309ad885339
parentac38f1736c8d3bfe9b73c4de845ad2b6789c7d4a (diff)
Miod must have gotten his fingers stuck between the keys on his keyboard and
accidentally swapped to lines of code. Swap them back such that this compiles again.
-rw-r--r--sys/arch/sparc64/sparc64/emul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/emul.c b/sys/arch/sparc64/sparc64/emul.c
index c14304781f5..18653bab637 100644
--- a/sys/arch/sparc64/sparc64/emul.c
+++ b/sys/arch/sparc64/sparc64/emul.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emul.c,v 1.16 2010/01/01 13:13:08 miod Exp $ */
+/* $OpenBSD: emul.c,v 1.17 2010/01/01 23:19:20 kettenis Exp $ */
/* $NetBSD: emul.c,v 1.8 2001/06/29 23:58:40 eeh Exp $ */
/*-
@@ -562,8 +562,8 @@ emul_qf(int32_t insv, struct proc *p, union sigval sv, struct trapframe *tf)
segv:
KERNEL_PROC_LOCK(p);
trapsignal(p, SIGSEGV, isload ? VM_PROT_READ : VM_PROT_WRITE,
- KERNEL_PROC_UNLOCK(p);
SEGV_MAPERR, sv);
+ KERNEL_PROC_UNLOCK(p);
return (0);
}