Source-Changes-HG archive

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

[src/trunk]: src/sys make MAXLWP a real option that triggers rebuilds properly.



details:   https://anonhg.NetBSD.org/src/rev/73b91e23c498
branches:  trunk
changeset: 368645:73b91e23c498
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Jul 23 19:15:28 2022 +0000

description:
make MAXLWP a real option that triggers rebuilds properly.

diffstat:

 sys/conf/files   |  4 +++-
 sys/conf/param.c |  5 +++--
 sys/sys/lwp.h    |  3 ++-
 3 files changed, 8 insertions(+), 4 deletions(-)

diffs (61 lines):

diff -r a84f73b741dd -r 73b91e23c498 sys/conf/files
--- a/sys/conf/files    Sat Jul 23 19:05:14 2022 +0000
+++ b/sys/conf/files    Sat Jul 23 19:15:28 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.1299 2022/07/20 10:01:11 riastradh Exp $
+#      $NetBSD: files,v 1.1300 2022/07/23 19:15:28 mrg Exp $
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
 version        20171118
@@ -142,6 +142,8 @@
 
 defflag opt_todr.h             TODR_DEBUG
 
+defopt opt_maxlwp.h            MAXLWP
+
 # compatibility options
 #
 defflag opt_compat_netbsd.h    COMPAT_NETBSD
diff -r a84f73b741dd -r 73b91e23c498 sys/conf/param.c
--- a/sys/conf/param.c  Sat Jul 23 19:05:14 2022 +0000
+++ b/sys/conf/param.c  Sat Jul 23 19:15:28 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.c,v 1.69 2020/11/12 07:44:01 simonb Exp $        */
+/*     $NetBSD: param.c,v 1.70 2022/07/23 19:15:29 mrg Exp $   */
 
 /*
  * Copyright (c) 1980, 1986, 1989 Regents of the University of California.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: param.c,v 1.69 2020/11/12 07:44:01 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: param.c,v 1.70 2022/07/23 19:15:29 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_hz.h"
@@ -45,6 +45,7 @@
 #include "opt_sysv.h"
 #include "opt_sysvparam.h"
 #include "opt_multiprocessor.h"
+#include "opt_maxlwp.h"
 #endif
 
 #include <sys/param.h>
diff -r a84f73b741dd -r 73b91e23c498 sys/sys/lwp.h
--- a/sys/sys/lwp.h     Sat Jul 23 19:05:14 2022 +0000
+++ b/sys/sys/lwp.h     Sat Jul 23 19:15:28 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lwp.h,v 1.216 2022/05/07 19:44:40 mrg Exp $    */
+/*     $NetBSD: lwp.h,v 1.217 2022/07/23 19:15:29 mrg Exp $    */
 
 /*
  * Copyright (c) 2001, 2006, 2007, 2008, 2009, 2010, 2019, 2020
@@ -57,6 +57,7 @@
 #ifdef _KERNEL_OPT
 #include "opt_kcov.h"
 #include "opt_kmsan.h"
+#include "opt_maxlwp.h"
 #endif
 #endif
 



Home | Main Index | Thread Index | Old Index