]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
no-global-sunlock-20060206
authorJim Rees <rees@umich.edu>
Mon, 6 Feb 2006 17:18:12 +0000 (17:18 +0000)
committerJim Rees <rees@umich.edu>
Mon, 6 Feb 2006 17:18:12 +0000 (17:18 +0000)
Don't use global_sunlock on OpenBSD unless running smp kernel

src/config/param.i386_obsd33.h
src/config/param.i386_obsd34.h
src/config/param.i386_obsd35.h
src/config/param.i386_obsd36.h
src/config/param.i386_obsd37.h
src/config/param.i386_obsd38.h

index f31a1632767ac7027a6b064a1676a24a642401c3..a1d880955a2478477dbf3fb40f43020d844825cf 100644 (file)
@@ -42,7 +42,9 @@
 
 /* Extra kernel definitions (from kdefs file) */
 #ifdef _KERNEL
+#ifdef MULTIPROCESSOR
 #define AFS_GLOBAL_SUNLOCK     1
+#endif
 #define        AFS_SHORTGID            0       /* are group id's short? */
 
 #if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
index 78016daf2d683ea0dbdb05cb4e59f8742e76aafa..67b4f2a27b9a4395d9bdc7f02565260e5586a6c1 100644 (file)
@@ -43,7 +43,9 @@
 
 /* Extra kernel definitions (from kdefs file) */
 #ifdef _KERNEL
+#ifdef MULTIPROCESSOR
 #define AFS_GLOBAL_SUNLOCK     1
+#endif
 #define        AFS_SHORTGID            0       /* are group id's short? */
 
 #if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
index 46a027dae7a45d2bca94e1bcedecb1e8972aa0f8..7f82271d86557749c5365034d0536eba46695d63 100644 (file)
@@ -43,7 +43,9 @@
 
 /* Extra kernel definitions (from kdefs file) */
 #ifdef _KERNEL
+#ifdef MULTIPROCESSOR
 #define AFS_GLOBAL_SUNLOCK     1
+#endif
 #define        AFS_SHORTGID            0       /* are group id's short? */
 
 #if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
index 4fb745486c13cb2d650706d746a7e0fd7686c712..4f59df7419abc42b3591a0d9dd7f10a84a3c4f96 100644 (file)
@@ -45,7 +45,9 @@
 
 /* Extra kernel definitions (from kdefs file) */
 #ifdef _KERNEL
+#ifdef MULTIPROCESSOR
 #define AFS_GLOBAL_SUNLOCK     1
+#endif
 #define        AFS_SHORTGID            0       /* are group id's short? */
 
 #if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
index 35a68c2835efc98d2a1f41198dfeabf0d155a717..67460348b64408c459eb30e6c0c198dbe8aa7a4e 100644 (file)
@@ -46,7 +46,9 @@
 
 /* Extra kernel definitions (from kdefs file) */
 #ifdef _KERNEL
+#ifdef MULTIPROCESSOR
 #define AFS_GLOBAL_SUNLOCK     1
+#endif
 #define        AFS_SHORTGID            0       /* are group id's short? */
 
 #if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
index 52b03fdcad916e1cded5a806530a2992f5ad9c86..7c2a38e3e3f808a8549b44eefc579b1204164cc9 100644 (file)
@@ -47,7 +47,9 @@
 
 /* Extra kernel definitions (from kdefs file) */
 #ifdef _KERNEL
+#ifdef MULTIPROCESSOR
 #define AFS_GLOBAL_SUNLOCK     1
+#endif
 #define        AFS_SHORTGID            0       /* are group id's short? */
 
 #if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)