Add cpu_spawn_return() as per other archs to make it compile. No tests done
yet.
This commit is contained in:
parent
9074bc163d
commit
7775733971
|
@ -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 <jmcneill@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,
|
||||
|
|
Loading…
Reference in New Issue