diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-05-21 19:42:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-05-21 19:42:08 +0000 |
commit | 5785052132ea981fa7a37a802ee141a07453a991 (patch) | |
tree | 13d628590364a1e6daec6f3c9bbf5db4e1bb3218 /sys/arch/hppa | |
parent | f42e08b4b436132c9165fe158935a2f6422caf91 (diff) |
ddb expects the kernel longjmp() to only take a single parameter and always
return 1 since 12+ years, it's about time to fix the offending ports.
Reported by Pierre Riteau (firstname.lastname at gmail)
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/locore.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S index fa875d8a35c..1ae594f1485 100644 --- a/sys/arch/hppa/hppa/locore.S +++ b/sys/arch/hppa/hppa/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.156 2007/10/10 15:53:51 art Exp $ */ +/* $OpenBSD: locore.S,v 1.157 2008/05/21 19:42:05 miod Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -2711,7 +2711,7 @@ LEAF_ENTRY(longjmp) ldwm 4(arg0),sp /* stack pointer, */ bv 0(rp) - copy arg1,ret0 /* Move return value to where it belongs. */ + ldi 1, ret0 EXIT(longjmp) |