summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-03-27 05:29:41 +0000
committermarcel <marcel@FreeBSD.org>2007-03-27 05:29:41 +0000
commit3436aa65049f61a72781bd4880a79d2c079d2974 (patch)
tree462961c95cb68383805a8237c6536e778b0424e1
parent9645b900be3d4008ac1bf59f8222475d3958bc0c (diff)
downloadFreeBSD-src-3436aa65049f61a72781bd4880a79d2c079d2974.zip
FreeBSD-src-3436aa65049f61a72781bd4880a79d2c079d2974.tar.gz
PowerPC is the only architecture with mpsafe_vfs=0. This is now
broken. Rudimentary tests show that PowerPC can run with mpsafe_vfs=1. Make it so...
-rw-r--r--sys/kern/vfs_subr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index cf78d04..bad9828 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -114,11 +114,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(__powerpc__)
int mpsafe_vfs = 1;
-#else
-int mpsafe_vfs;
-#endif
TUNABLE_INT("debug.mpsafevfs", &mpsafe_vfs);
SYSCTL_INT(_debug, OID_AUTO, mpsafevfs, CTLFLAG_RD, &mpsafe_vfs, 0,
"MPSAFE VFS");
OpenPOWER on IntegriCloud