From 19dda2fe17987a2d727baf68e6eb0569867e91a7 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 6 Nov 2001 20:58:49 +0000 Subject: child_return unscrewart --- sys/arch/hppa/hppa/trap.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys') 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)) -- cgit v1.2.3