diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c index 59878ea4ff24..0ad8e1c35465 100644 --- a/sys/arch/hppa/hppa/trap.c +++ b/sys/arch/hppa/hppa/trap.c @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.96 2011/01/23 09:44:59 skrll Exp $ */ +/* $NetBSD: trap.c,v 1.97 2012/02/13 01:07:37 martin Exp $ */ /*- * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc. @@ -58,7 +58,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.96 2011/01/23 09:44:59 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.97 2012/02/13 01:07:37 martin Exp $"); /* #define INTRDEBUG */ /* #define TRAPDEBUG */ @@ -1003,6 +1003,19 @@ child_return(void *arg) #endif /* DEBUG */ } +/* + * Process the tail end of a posix_spawn() for the child. + */ +void +cpu_spawn_return(struct lwp *l) +{ + + userret(l, l->l_md.md_regs->tf_iioq_head, 0); +#ifdef DEBUG + frame_sanity_check(__func__, __LINE__, 0, l->l_md.md_regs, l); +#endif /* DEBUG */ +} + #ifdef PTRACE #include