summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-08-18 01:08:45 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-08-18 01:08:45 +0000
commit027e0eb15d8596847a981350b31ef182007f995c (patch)
treed446655b43775cf4a36ce14ee4b16fa1e6b26803
parentbe08df7290523feda5b450a974712a7637c51654 (diff)
Notes
-rw-r--r--sys/alpha/alpha/trap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c
index 423d4a742800..99071fec2d96 100644
--- a/sys/alpha/alpha/trap.c
+++ b/sys/alpha/alpha/trap.c
@@ -611,7 +611,9 @@ trap(a0, a1, a2, entry, framep)
framep->tf_regs[FRAME_TRAPARG_A0] = a0;
framep->tf_regs[FRAME_TRAPARG_A1] = a1;
framep->tf_regs[FRAME_TRAPARG_A2] = a2;
+ mtx_lock(&Giant);
trapsignal(p, i, ucode);
+ mtx_unlock(&Giant);
out:
if (user) {
framep->tf_regs[FRAME_SP] = alpha_pal_rdusp();