Module Name: src Committed By: chs Date: Mon Nov 5 15:14:34 UTC 2012
Modified Files: src/sys/arch/ia64/ia64: syscall.c Log Message: add a cpu_spawn_return() that just calls userret(). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/ia64/ia64/syscall.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/ia64/ia64/syscall.c diff -u src/sys/arch/ia64/ia64/syscall.c:1.5 src/sys/arch/ia64/ia64/syscall.c:1.6 --- src/sys/arch/ia64/ia64/syscall.c:1.5 Sat Jan 23 06:20:31 2010 +++ src/sys/arch/ia64/ia64/syscall.c Mon Nov 5 15:14:34 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: syscall.c,v 1.5 2010/01/23 06:20:31 kiyohara Exp $ */ +/* $NetBSD: syscall.c,v 1.6 2012/11/05 15:14:34 chs Exp $ */ /* * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -32,13 +32,14 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.5 2010/01/23 06:20:31 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.6 2012/11/05 15:14:34 chs Exp $"); #include <sys/param.h> #include <sys/systm.h> #include <sys/proc.h> #include <machine/frame.h> +#include <machine/userret.h> void syscall_intern(struct proc *); void syscall_plain(struct lwp *, u_int64_t, struct trapframe *); @@ -80,3 +81,13 @@ child_return(void *arg) printf("%s: not yet\n", __func__); return; } + +/* + * Process the tail end of a posix_spawn() for the child. + */ +void +cpu_spawn_return(struct lwp *l) +{ + + userret(l); +}