From: Garry Zacheiss Date: Wed, 10 Jul 2002 21:03:29 +0000 (+0000) Subject: STABLE12-define-config_smp-to-some-value-not-empty-string-20020622 X-Git-Tag: openafs-stable-1_2_6~46 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=41c8a8028340258be642ef692a38c778e2412357;p=packages%2Fo%2Fopenafs.git STABLE12-define-config_smp-to-some-value-not-empty-string-20020622 Use: #define CONFIG_SMP 1 instead of: #define CONFIG_SMP to fix recent Redhat kernel which used #if CONFIG_SMP instead of #ifdef CONFIG_SMP in some kernel headers. (cherry picked from commit 691edd4ea6c117b25aeb124ce7c4a7755694cb37) --- diff --git a/src/config/param.alpha_linux_22.h b/src/config/param.alpha_linux_22.h index 4f9ea914f..f9b0accfe 100644 --- a/src/config/param.alpha_linux_22.h +++ b/src/config/param.alpha_linux_22.h @@ -35,7 +35,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif diff --git a/src/config/param.alpha_linux_24.h b/src/config/param.alpha_linux_24.h index ebb4e2e9b..5c64253d3 100644 --- a/src/config/param.alpha_linux_24.h +++ b/src/config/param.alpha_linux_24.h @@ -37,7 +37,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif diff --git a/src/config/param.i386_linux22.h b/src/config/param.i386_linux22.h index b09d35a7d..4a7130491 100644 --- a/src/config/param.i386_linux22.h +++ b/src/config/param.i386_linux22.h @@ -37,7 +37,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef CONFIG_X86_LOCAL_APIC #define CONFIG_X86_LOCAL_APIC #endif diff --git a/src/config/param.i386_linux24.h b/src/config/param.i386_linux24.h index 2fcf24713..9ec7e44d8 100644 --- a/src/config/param.i386_linux24.h +++ b/src/config/param.i386_linux24.h @@ -30,7 +30,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef CONFIG_X86_LOCAL_APIC #define CONFIG_X86_LOCAL_APIC #endif diff --git a/src/config/param.ia64_linux24.h b/src/config/param.ia64_linux24.h index 7d9254c9b..5918766f9 100644 --- a/src/config/param.ia64_linux24.h +++ b/src/config/param.ia64_linux24.h @@ -38,7 +38,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif diff --git a/src/config/param.parisc_linux24.h b/src/config/param.parisc_linux24.h index af619cc79..1ff56bf83 100644 --- a/src/config/param.parisc_linux24.h +++ b/src/config/param.parisc_linux24.h @@ -28,7 +28,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif diff --git a/src/config/param.ppc_linux22.h b/src/config/param.ppc_linux22.h index 32a1e9fbe..f68aacd27 100644 --- a/src/config/param.ppc_linux22.h +++ b/src/config/param.ppc_linux22.h @@ -28,7 +28,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif diff --git a/src/config/param.ppc_linux24.h b/src/config/param.ppc_linux24.h index c1cfd6515..8d3991b8e 100644 --- a/src/config/param.ppc_linux24.h +++ b/src/config/param.ppc_linux24.h @@ -30,7 +30,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif diff --git a/src/config/param.s390_linux22.h b/src/config/param.s390_linux22.h index 9614398cf..5cb40fd79 100644 --- a/src/config/param.s390_linux22.h +++ b/src/config/param.s390_linux22.h @@ -31,7 +31,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef CONFIG_S390_LOCAL_APIC #define CONFIG_S390_LOCAL_APIC #endif diff --git a/src/config/param.s390_linux24.h b/src/config/param.s390_linux24.h index 66c335eb0..c71fed920 100644 --- a/src/config/param.s390_linux24.h +++ b/src/config/param.s390_linux24.h @@ -33,7 +33,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef CONFIG_S390_LOCAL_APIC #define CONFIG_S390_LOCAL_APIC #endif diff --git a/src/config/param.sparc64_linux22.h b/src/config/param.sparc64_linux22.h index 3e4a44a2a..c4010e231 100644 --- a/src/config/param.sparc64_linux22.h +++ b/src/config/param.sparc64_linux22.h @@ -36,7 +36,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif diff --git a/src/config/param.sparc64_linux24.h b/src/config/param.sparc64_linux24.h index e63497dce..140638526 100644 --- a/src/config/param.sparc64_linux24.h +++ b/src/config/param.sparc64_linux24.h @@ -42,7 +42,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #define __SMP__ #define AFS_GLOBAL_SUNLOCK #endif diff --git a/src/config/param.sparc_linux22.h b/src/config/param.sparc_linux22.h index 0a2a79797..2e916be7c 100644 --- a/src/config/param.sparc_linux22.h +++ b/src/config/param.sparc_linux22.h @@ -31,7 +31,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif diff --git a/src/config/param.sparc_linux24.h b/src/config/param.sparc_linux24.h index 2bff46edc..37a046e75 100644 --- a/src/config/param.sparc_linux24.h +++ b/src/config/param.sparc_linux24.h @@ -33,7 +33,7 @@ * MP to compile for Linux */ #ifdef AFS_SMP -#define CONFIG_SMP +#define CONFIG_SMP 1 #ifndef __SMP__ #define __SMP__ #endif