Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/sh3 add missing MD code for posix_spawn



details:   https://anonhg.NetBSD.org/src/rev/594bf021ecd3
branches:  trunk
changeset: 773677:594bf021ecd3
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Feb 13 01:04:26 2012 +0000

description:
add missing MD code for posix_spawn

diffstat:

 sys/arch/sh3/sh3/vm_machdep.c |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 61aca15f57b9 -r 594bf021ecd3 sys/arch/sh3/sh3/vm_machdep.c
--- a/sys/arch/sh3/sh3/vm_machdep.c     Sun Feb 12 20:54:07 2012 +0000
+++ b/sys/arch/sh3/sh3/vm_machdep.c     Mon Feb 13 01:04:26 2012 +0000
@@ -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 @@
 }
 
 /*
+ * 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



Home | Main Index | Thread Index | Old Index