summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-08-16 17:30:03 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-08-16 17:30:03 +0000
commit6948fc9ef18317eae008a21921c28410ca1c3d4e (patch)
tree1c590e095d112c0b6a5d2bc05c237b9adf114dc5 /sys
parent26475ea00d2ec7495d73a0f1e2ef3de6a5678ee0 (diff)
Old proc is stored in %arg0, not in %arg2.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa64/hppa64/locore.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa64/hppa64/locore.S b/sys/arch/hppa64/hppa64/locore.S
index 07e3037670c..4fe1a3256e5 100644
--- a/sys/arch/hppa64/hppa64/locore.S
+++ b/sys/arch/hppa64/hppa64/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.33 2011/08/07 22:35:53 kettenis Exp $ */
+/* $OpenBSD: locore.S,v 1.34 2011/08/16 17:30:02 kettenis Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -1819,7 +1819,7 @@ kstack_ok
std %arg1, CI_CURPROC(%r1)
/* If old process exited, don't bother. */
- comb,=,n %r0, %arg2, switch_exited
+ comb,=,n %r0, %arg0, switch_exited
/*
* 2. save old proc context