hwpmc: purge EOL release compatibility
This commit is contained in:
parent
e80062a2d4
commit
cb6abe87cf
@ -79,9 +79,6 @@ SYSCTL_DECL(_kern_hwpmc);
|
||||
*/
|
||||
|
||||
static int pmclog_buffer_size = PMC_LOG_BUFFER_SIZE;
|
||||
#if (__FreeBSD_version < 1100000)
|
||||
TUNABLE_INT(PMC_SYSCTL_NAME_PREFIX "logbuffersize", &pmclog_buffer_size);
|
||||
#endif
|
||||
SYSCTL_INT(_kern_hwpmc, OID_AUTO, logbuffersize, CTLFLAG_RDTUN,
|
||||
&pmclog_buffer_size, 0, "size of log buffers in kilobytes");
|
||||
|
||||
@ -90,9 +87,6 @@ SYSCTL_INT(_kern_hwpmc, OID_AUTO, logbuffersize, CTLFLAG_RDTUN,
|
||||
*/
|
||||
|
||||
static int pmc_nlogbuffers_pcpu = PMC_NLOGBUFFERS_PCPU;
|
||||
#if (__FreeBSD_version < 1100000)
|
||||
TUNABLE_INT(PMC_SYSCTL_NAME_PREFIX "nbuffers", &pmc_nlogbuffers_pcpu);
|
||||
#endif
|
||||
SYSCTL_INT(_kern_hwpmc, OID_AUTO, nbuffers_pcpu, CTLFLAG_RDTUN,
|
||||
&pmc_nlogbuffers_pcpu, 0, "number of log buffers per cpu");
|
||||
|
||||
|
@ -40,11 +40,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/systm.h>
|
||||
|
||||
#include <machine/intr_machdep.h>
|
||||
#if (__FreeBSD_version >= 1100000)
|
||||
#include <x86/apicvar.h>
|
||||
#else
|
||||
#include <machine/apicvar.h>
|
||||
#endif
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
@ -42,11 +42,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/cputypes.h>
|
||||
#include <machine/intr_machdep.h>
|
||||
#if (__FreeBSD_version >= 1100000)
|
||||
#include <x86/apicvar.h>
|
||||
#else
|
||||
#include <machine/apicvar.h>
|
||||
#endif
|
||||
#include <machine/pmc_mdep.h>
|
||||
#include <machine/md_var.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user