From da0f2fdeca83a47d4c39814901ef862fdbfdb604 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Mon, 6 Feb 2006 17:18:12 +0000 Subject: [PATCH] no-global-sunlock-20060206 Don't use global_sunlock on OpenBSD unless running smp kernel --- src/config/param.i386_obsd33.h | 2 ++ src/config/param.i386_obsd34.h | 2 ++ src/config/param.i386_obsd35.h | 2 ++ src/config/param.i386_obsd36.h | 2 ++ src/config/param.i386_obsd37.h | 2 ++ src/config/param.i386_obsd38.h | 2 ++ 6 files changed, 12 insertions(+) diff --git a/src/config/param.i386_obsd33.h b/src/config/param.i386_obsd33.h index f31a16327..a1d880955 100644 --- a/src/config/param.i386_obsd33.h +++ b/src/config/param.i386_obsd33.h @@ -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__) diff --git a/src/config/param.i386_obsd34.h b/src/config/param.i386_obsd34.h index 78016daf2..67b4f2a27 100644 --- a/src/config/param.i386_obsd34.h +++ b/src/config/param.i386_obsd34.h @@ -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__) diff --git a/src/config/param.i386_obsd35.h b/src/config/param.i386_obsd35.h index 46a027dae..7f82271d8 100644 --- a/src/config/param.i386_obsd35.h +++ b/src/config/param.i386_obsd35.h @@ -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__) diff --git a/src/config/param.i386_obsd36.h b/src/config/param.i386_obsd36.h index 4fb745486..4f59df741 100644 --- a/src/config/param.i386_obsd36.h +++ b/src/config/param.i386_obsd36.h @@ -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__) diff --git a/src/config/param.i386_obsd37.h b/src/config/param.i386_obsd37.h index 35a68c283..67460348b 100644 --- a/src/config/param.i386_obsd37.h +++ b/src/config/param.i386_obsd37.h @@ -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__) diff --git a/src/config/param.i386_obsd38.h b/src/config/param.i386_obsd38.h index 52b03fdca..7c2a38e3e 100644 --- a/src/config/param.i386_obsd38.h +++ b/src/config/param.i386_obsd38.h @@ -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__) -- 2.39.5