svn commit: r309750 - head/sys/vm
Mark Johnston
markj at FreeBSD.org
Fri Dec 9 18:55:29 UTC 2016
Author: markj
Date: Fri Dec 9 18:55:27 2016
New Revision: 309750
URL: https://svnweb.freebsd.org/changeset/base/309750
Log:
Conditionalize PG_CACHE sysctls on COMPAT_FREEBSD11.
Reviewed by: glebius, imp, jhb
Differential Revision: https://reviews.freebsd.org/D8736
Modified:
head/sys/vm/vm_meter.c
Modified: head/sys/vm/vm_meter.c
==============================================================================
--- head/sys/vm/vm_meter.c Fri Dec 9 18:54:12 2016 (r309749)
+++ head/sys/vm/vm_meter.c Fri Dec 9 18:55:27 2016 (r309750)
@@ -32,6 +32,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_compat.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -315,7 +317,7 @@ VM_STATS_VM(v_vforkpages, "VM pages affe
VM_STATS_VM(v_rforkpages, "VM pages affected by rfork()");
VM_STATS_VM(v_kthreadpages, "VM pages affected by fork() by kernel");
-#ifndef BURN_BRIDGES
+#ifdef COMPAT_FREEBSD11
/*
* Provide compatibility sysctls for the benefit of old utilities which exit
* with an error if they cannot be found.
More information about the svn-src-all
mailing list