Module Name: src
Committed By: martin
Date: Mon Feb 13 01:04:27 UTC 2012
Modified Files:
src/sys/arch/sh3/sh3: vm_machdep.c
Log Message:
add missing MD code for posix_spawn
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/sh3/sh3/vm_machdep.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/sh3/sh3/vm_machdep.c
diff -u src/sys/arch/sh3/sh3/vm_machdep.c:1.73 src/sys/arch/sh3/sh3/vm_machdep.c:1.74
--- src/sys/arch/sh3/sh3/vm_machdep.c:1.73 Mon Jun 13 05:23:33 2011
+++ src/sys/arch/sh3/sh3/vm_machdep.c Mon Feb 13 01:04:26 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.73 2011/06/13 05:23:33 uch Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.74 2012/02/13 01:04:26 martin Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved.
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.73 2011/06/13 05:23:33 uch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.74 2012/02/13 01:04:26 martin Exp $");
#include "opt_kstack_debug.h"
@@ -274,6 +274,16 @@ child_return(void *arg)
}
/*
+ * Process the tail end of a posix_spawn() for the child.
+ */
+void
+cpu_spawn_return(struct lwp *l)
+{
+
+ userret(l);
+}
+
+/*
* struct emul e_startlwp (for _lwp_create(2))
*/
void