From 51b1367e426bc4d7f1eb9e2bcf4f1b5bf570ffd7 Mon Sep 17 00:00:00 2001 From: jesper Date: Thu, 31 May 2001 21:56:44 +0000 Subject: Move the definition of NMBCLUSTERS from src/sys/kern/uipc_mbuf.c to , 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 --- sys/kern/uipc_accf.c | 1 - sys/kern/uipc_mbuf.c | 5 ----- sys/kern/uipc_sockbuf.c | 1 - sys/kern/uipc_socket2.c | 1 - 4 files changed, 8 deletions(-) (limited to 'sys') 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 #include #include 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 #include #include @@ -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 #include #include 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 #include #include -- cgit v1.1