Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Try to fix build of sys_lwp.c
details: https://anonhg.NetBSD.org/src/rev/6124fe1cf0f8
branches: trunk
changeset: 823395:6124fe1cf0f8
user: kamil <kamil%NetBSD.org@localhost>
date: Fri Apr 21 19:38:35 2017 +0000
description:
Try to fix build of sys_lwp.c
lwp_create() has been acquired more arguments, there was missing the latest
one. Per analogiam with changes in the same commit to other source files,
go for &SS_INIT.
diffstat:
sys/kern/sys_lwp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e4f70f1c2e4e -r 6124fe1cf0f8 sys/kern/sys_lwp.c
--- a/sys/kern/sys_lwp.c Fri Apr 21 19:33:56 2017 +0000
+++ b/sys/kern/sys_lwp.c Fri Apr 21 19:38:35 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_lwp.c,v 1.59 2017/04/21 15:10:35 christos Exp $ */
+/* $NetBSD: sys_lwp.c,v 1.60 2017/04/21 19:38:35 kamil Exp $ */
/*-
* Copyright (c) 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_lwp.c,v 1.59 2017/04/21 15:10:35 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_lwp.c,v 1.60 2017/04/21 19:38:35 kamil Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -86,7 +86,7 @@
return ENOMEM;
error = lwp_create(l, p, uaddr, flags & LWP_DETACHED, NULL, 0,
- p->p_emul->e_startlwp, arg, &l2, l->l_class, sigmask);
+ p->p_emul->e_startlwp, arg, &l2, l->l_class, sigmask, &SS_INIT);
if (__predict_false(error)) {
uvm_uarea_free(uaddr);
return error;
Home |
Main Index |
Thread Index |
Old Index