diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-16 17:30:03 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-16 17:30:03 +0000 |
commit | 6948fc9ef18317eae008a21921c28410ca1c3d4e (patch) | |
tree | 1c590e095d112c0b6a5d2bc05c237b9adf114dc5 /sys/arch/hppa64 | |
parent | 26475ea00d2ec7495d73a0f1e2ef3de6a5678ee0 (diff) |
Old proc is stored in %arg0, not in %arg2.
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r-- | sys/arch/hppa64/hppa64/locore.S | 4 |
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 |