Module Name: src Committed By: reinoud Date: Mon Feb 13 19:15:59 UTC 2012
Modified Files: src/sys/arch/usermode/usermode: syscall.c Log Message: Add cpu_spawn_return() as per other archs to make it compile. No tests done yet. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/usermode/usermode/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/usermode/usermode/syscall.c diff -u src/sys/arch/usermode/usermode/syscall.c:1.22 src/sys/arch/usermode/usermode/syscall.c:1.23 --- src/sys/arch/usermode/usermode/syscall.c:1.22 Sat Jan 14 21:45:28 2012 +++ src/sys/arch/usermode/usermode/syscall.c Mon Feb 13 19:15:59 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: syscall.c,v 1.22 2012/01/14 21:45:28 reinoud Exp $ */ +/* $NetBSD: syscall.c,v 1.23 2012/02/13 19:15:59 reinoud Exp $ */ /*- * Copyright (c) 2007 Jared D. McNeill <jmcne...@invisible.ca> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.22 2012/01/14 21:45:28 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.23 2012/02/13 19:15:59 reinoud Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -63,6 +63,16 @@ child_return(void *arg) ktrsysret(SYS_fork, 0, 0); } +/* + * Process the tail end of a posix_spawn() for the child. + */ +void +cpu_spawn_return(struct lwp *l) +{ + + userret(l); +} + extern const char *const syscallnames[]; static void syscall_args_print(lwp_t *l, int code, int nargs, int argsize,