summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-01 10:50:02 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-01 10:50:02 +0000
commite2f99ef5a82f0969854c7d93b2f18062e552a012 (patch)
tree748b7bb4b28c9e3b75d9dccc6101255fefa7b715 /sys
parent48c147583c9ec0d33e71a8341a2876db6bcafecb (diff)
Pass the correct machine check frame to the machine check handler.
This bug was 12 days away from having lived for 20 years.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/vax/vax/locore.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/locore.S b/sys/arch/vax/vax/locore.S
index bf3bbb084f8..12a6aaebe43 100644
--- a/sys/arch/vax/vax/locore.S
+++ b/sys/arch/vax/vax/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.8 2013/11/24 22:08:25 miod Exp $ */
+/* $OpenBSD: locore.S,v 1.9 2015/02/01 10:50:01 miod Exp $ */
/* $NetBSD: intvec.s,v 1.39 1999/06/28 08:20:48 itojun Exp $ */
/*
@@ -165,7 +165,7 @@ SCBENTRY(mcheck)
bneq L4 # Yes.
pushr $0x7f
- pushab 24(%sp)
+ pushab 28(%sp)
movl _C_LABEL(dep_call),%r6 # CPU dependent mchk handling
calls $1,*MCHK(%r6)
tstl %r0 # If not machine check, try memory error