summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-18 13:32:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-18 13:32:57 +0000
commit89252fd19ba73c2d4e7925f9b540ed2f2cb6d0be (patch)
tree97a4a890710e690f62fa58485ff6cfaa731caf4a /sys/arch/hp300
parent390f543cf7f06384ee4a2bad1711b9cf034a0666 (diff)
In phys_badaddr() when probe fails, restore the correct PROM bus error
handle callback (i.e. fix a typo).
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/locore.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/hp300/locore.s b/sys/arch/hp300/hp300/locore.s
index 46193c0c01e..fcb0418be26 100644
--- a/sys/arch/hp300/hp300/locore.s
+++ b/sys/arch/hp300/hp300/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.47 2005/01/14 22:39:27 miod Exp $ */
+/* $OpenBSD: locore.s,v 1.48 2005/01/18 13:32:56 miod Exp $ */
/* $NetBSD: locore.s,v 1.91 1998/11/11 06:41:25 thorpej Exp $ */
/*
@@ -1995,7 +1995,7 @@ ASLOCAL(phys_badaddr)
rts
ASLOCAL(catchbad)
ASRELOC(_bsave,a3) | got a bus error, so restore handler
- movl a1@,BUSERR
+ movl a3@,BUSERR
ASRELOC(_ssave,a3)
movl a3@,sp | and stack
moveq #1,d0 | return fault