diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-11-06 20:58:49 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-11-06 20:58:49 +0000 |
commit | 19dda2fe17987a2d727baf68e6eb0569867e91a7 (patch) | |
tree | dc3b922a96b1b30d1914630a4e8f13b90d626ce0 /sys | |
parent | cdac000fef60420db22a28bb09c922ed72de7cd3 (diff) |
child_return unscrewart
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/hppa/trap.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c index cfdc92fa593..e24802c45bd 100644 --- a/sys/arch/hppa/hppa/trap.c +++ b/sys/arch/hppa/hppa/trap.c @@ -1,7 +1,7 @@ -/* $OpenBSD: trap.c,v 1.31 2001/11/06 19:53:14 miod Exp $ */ +/* $OpenBSD: trap.c,v 1.32 2001/11/06 20:58:48 mickey Exp $ */ /* - * Copyright (c) 1998-2000 Michael Shalayeff + * Copyright (c) 1998-2001 Michael Shalayeff * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -435,9 +435,10 @@ if (kdb_trap (type, va, frame)) } void -child_return(p) - struct proc *p; +child_return(arg) + void *arg; { + struct proc *p = (struct proc *)arg; userret(p, p->p_md.md_regs->tf_iioq_head, 0); #ifdef KTRACE if (KTRPOINT(p, KTR_SYSRET)) |