summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_meter.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_meter.c')
-rw-r--r--sys/vm/vm_meter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c
index 3f2caf3..4c09acd 100644
--- a/sys/vm/vm_meter.c
+++ b/sys/vm/vm_meter.c
@@ -55,7 +55,11 @@ __FBSDID("$FreeBSD$");
/*
* Virtual memory MPSAFE temporary workarounds.
*/
+#if defined(__amd64__) || defined(__i386__)
+int debug_mpsafevm = 1;
+#else
int debug_mpsafevm;
+#endif
TUNABLE_INT("debug.mpsafevm", &debug_mpsafevm);
SYSCTL_INT(_debug, OID_AUTO, mpsafevm, CTLFLAG_RD, &debug_mpsafevm, 0,
"Enable/disable MPSAFE virtual memory support");
OpenPOWER on IntegriCloud