summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-18 07:21:28 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-18 07:21:28 +0000
commit3c92c7dd1b5bd2c4ccc129f4a78b010a4af8f0a4 (patch)
tree1652b7857a2756bf7bd7d431b822f82a72420568 /sys/arch
parentba8d2f7950882c5d83ea166f72c5a7acc350c6c3 (diff)
use ret0 instead of r28 to match how it's done later in the code
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/hppa/locore.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S
index d0405bc1a9a..88bf66136a1 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.140 2004/09/15 21:32:43 mickey Exp $ */
+/* $OpenBSD: locore.S,v 1.141 2004/09/18 07:21:27 mickey Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -548,7 +548,7 @@ $bsd_syscall
mfctl eiem, r1
mtctl r0, eiem
mtsp r0, sr1
- mfctl pidr1, r28
+ mfctl pidr1, ret0
ldi HPPA_PID_KERNEL, t2
mtctl t2, pidr1