summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-06-05 19:36:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-06-05 19:36:29 +0000
commitf80ef86ab0da27ea94dbb4c3fef462859a023267 (patch)
treea029c4c042309e4c67f7ef46987121da4db48048 /sys/arch/alpha
parent5198f93b712b0d55e630319a4ea968552c27d916 (diff)
And ... more discussion occurs between miod and kettenis about
what register dance copyerr should do.....
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/locore.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/locore.s b/sys/arch/alpha/alpha/locore.s
index 14ad2656bc6..6ecedc1f63b 100644
--- a/sys/arch/alpha/alpha/locore.s
+++ b/sys/arch/alpha/alpha/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.39 2015/06/05 18:36:07 deraadt Exp $ */
+/* $OpenBSD: locore.s,v 1.40 2015/06/05 19:36:28 deraadt Exp $ */
/* $NetBSD: locore.s,v 1.94 2001/04/26 03:10:44 ross Exp $ */
/*-
@@ -1061,7 +1061,8 @@ NESTED(copyout, 3, 16, ra, IM_RA|IM_S0, 0)
LEAF(copyerr, 0)
LDGP(pv)
.set noat
- ldq at_reg, P_ADDR(at_reg) /* clear handler. */
+ ldq at_reg, 0(s0) /* kill the fault handler. */
+ ldq at_reg, P_ADDR(at_reg)
stq zero, U_PCB_ONFAULT(at_reg)
.set at
ldq ra, (16-8)(sp) /* restore ra. */