Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ia64/ia64 add a cpu_spawn_return() that just calls ...



details:   https://anonhg.NetBSD.org/src/rev/f3a66323ac99
branches:  trunk
changeset: 782534:f3a66323ac99
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Nov 05 15:14:34 2012 +0000

description:
add a cpu_spawn_return() that just calls userret().

diffstat:

 sys/arch/ia64/ia64/syscall.c |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 8c78f3ee2dff -r f3a66323ac99 sys/arch/ia64/ia64/syscall.c
--- a/sys/arch/ia64/ia64/syscall.c      Mon Nov 05 15:13:04 2012 +0000
+++ b/sys/arch/ia64/ia64/syscall.c      Mon Nov 05 15:14:34 2012 +0000
@@ -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 @@
 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);
+}



Home | Main Index | Thread Index | Old Index