diff options
author | jesper <jesper@FreeBSD.org> | 2001-05-31 21:56:44 +0000 |
---|---|---|
committer | jesper <jesper@FreeBSD.org> | 2001-05-31 21:56:44 +0000 |
commit | 51b1367e426bc4d7f1eb9e2bcf4f1b5bf570ffd7 (patch) | |
tree | ad3b3beef334315145a4eaa7b02d19abcb467a4e /sys | |
parent | 70b10bbd043a07adcf94a4ba01570dca45cb0aea (diff) | |
download | FreeBSD-src-51b1367e426bc4d7f1eb9e2bcf4f1b5bf570ffd7.zip FreeBSD-src-51b1367e426bc4d7f1eb9e2bcf4f1b5bf570ffd7.tar.gz |
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,
and remove the now unneeded includes of "opt_param.h".
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_accf.c | 1 | ||||
-rw-r--r-- | sys/kern/uipc_mbuf.c | 5 | ||||
-rw-r--r-- | sys/kern/uipc_sockbuf.c | 1 | ||||
-rw-r--r-- | sys/kern/uipc_socket2.c | 1 |
4 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/uipc_accf.c b/sys/kern/uipc_accf.c index b31026a..6a8903c 100644 --- a/sys/kern/uipc_accf.c +++ b/sys/kern/uipc_accf.c @@ -29,7 +29,6 @@ #define ACCEPT_FILTER_MOD -#include "opt_param.h" #include <sys/param.h> #include <sys/systm.h> #include <sys/domain.h> diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 1cabff7..61067a4 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -34,7 +34,6 @@ * $FreeBSD$ */ -#include "opt_param.h" #include <sys/param.h> #include <sys/systm.h> #include <sys/condvar.h> @@ -99,10 +98,6 @@ SYSCTL_INT(_kern_ipc, OID_AUTO, nmbufs, CTLFLAG_RD, &nmbufs, 0, SYSCTL_INT(_kern_ipc, OID_AUTO, nmbcnt, CTLFLAG_RD, &nmbcnt, 0, "Maximum number of ext_buf counters available"); -#ifndef NMBCLUSTERS -#define NMBCLUSTERS (512 + MAXUSERS * 16) -#endif - TUNABLE_INT_DECL("kern.ipc.nmbclusters", NMBCLUSTERS, nmbclusters); TUNABLE_INT_DECL("kern.ipc.nmbufs", NMBCLUSTERS * 4, nmbufs); TUNABLE_INT_DECL("kern.ipc.nmbcnt", EXT_COUNTERS, nmbcnt); diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index 9b23c85..fa55d3e 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -34,7 +34,6 @@ * $FreeBSD$ */ -#include "opt_param.h" #include <sys/param.h> #include <sys/systm.h> #include <sys/domain.h> diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index 9b23c85..fa55d3e 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.c @@ -34,7 +34,6 @@ * $FreeBSD$ */ -#include "opt_param.h" #include <sys/param.h> #include <sys/systm.h> #include <sys/domain.h> |