aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJesper Skriver <jesper@FreeBSD.org>2001-05-31 21:58:10 +0000
committerJesper Skriver <jesper@FreeBSD.org>2001-05-31 21:58:10 +0000
commitcf7e5998d72b5fe01c47667f4f94b873123658ff (patch)
treeadd7454c0a606a6f645cd49b13b2271f8a40da2d /sys
parentb32c091ac224efe103ca52427621340f6513eee9 (diff)
downloadsrc-cf7e5998d72b5fe01c47667f4f94b873123658ff.tar.gz
src-cf7e5998d72b5fe01c47667f4f94b873123658ff.zip
Move the definition of NMBCLUSTERS from src/sys/kern/uipc_mbuf.c
to <sys/param.h>, so it's available to src/sys/netinet/ip_input.c MFC after: 1 week
Notes
Notes: svn path=/head/; revision=77547
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/param.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index c0ab17c86796..16528fa1ab77 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -232,4 +232,9 @@
#ifdef _KERNEL
void panic __P((const char *, ...)) __dead2 __printflike(1, 2);
#endif
+
+#include "opt_param.h"
+#ifndef NMBCLUSTERS
+#define NMBCLUSTERS (512 + MAXUSERS * 16)
+#endif
#endif /* _SYS_PARAM_H_ */