make MAXLWP a real option that triggers rebuilds properly.

This commit is contained in:
mrg 2022-07-23 19:15:28 +00:00
parent be53bacd52
commit 02502a24d6
3 changed files with 8 additions and 4 deletions

View File

@ -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_rnd_printf.h RND_PRINTF
defflag opt_todr.h TODR_DEBUG
defopt opt_maxlwp.h MAXLWP
# compatibility options
#
defflag opt_compat_netbsd.h COMPAT_NETBSD

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: param.c,v 1.69 2020/11/12 07:44:01 simonb Exp $");
#include "opt_sysv.h"
#include "opt_sysvparam.h"
#include "opt_multiprocessor.h"
#include "opt_maxlwp.h"
#endif
#include <sys/param.h>

View File

@ -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 @@ static __inline struct cpu_info *lwp_getcpu(struct lwp *);
#ifdef _KERNEL_OPT
#include "opt_kcov.h"
#include "opt_kmsan.h"
#include "opt_maxlwp.h"
#endif
#endif