summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2006-07-15 06:44:27 +0000
committeralc <alc@FreeBSD.org>2006-07-15 06:44:27 +0000
commit3944e271246bb7ef8706b8e4f1a805af60a8c643 (patch)
tree721f51b2f8c903f9baab6425f1cc0d8d5c8ee839 /sys/kern
parentc0fb0b1cd3c3f0bca6d69befb47e1938d92a2bbc (diff)
downloadFreeBSD-src-3944e271246bb7ef8706b8e4f1a805af60a8c643.zip
FreeBSD-src-3944e271246bb7ef8706b8e4f1a805af60a8c643.tar.gz
Enable debug.mpsafevfs by default on arm. Since every architecture except
powerpc has debug.mpsafevfs enabled by default, it is shorter to enumerate the architectures on which debug.mpsafevfs is off. Tested by: cognet@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index da6a61b..1ecec22 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -109,8 +109,7 @@ static int vfs_knllocked(void *arg);
* Enable Giant pushdown based on whether or not the vm is mpsafe in this
* build. Without mpsafevm the buffer cache can not run Giant free.
*/
-#if defined(__amd64__) || defined(__i386__) || \
- defined(__ia64__) || defined(__sparc64__)
+#if !defined(__powerpc__)
int mpsafe_vfs = 1;
#else
int mpsafe_vfs;
OpenPOWER on IntegriCloud