]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-ia64-smp-definition-20050220
authorChas Williams <chas@cmf.nrl.navy.mil>
Mon, 21 Feb 2005 01:12:43 +0000 (01:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 21 Feb 2005 01:12:43 +0000 (01:12 +0000)
FIXES 17640

change how smp is defined so we pick up a mutex

(cherry picked from commit f7ff156ec1f2daf9c9c81c44314034e178132717)

src/config/param.ia64_linux26.h

index db9a29c42ad4f7b99d9554af0d83fa5ca6c7665d..6fcbda30ccd5d6ae461b55c077388e63c175b470 100644 (file)
 
 #include <linux/config.h>
 #ifdef CONFIG_SMP
-#undef CONFIG_SMP
+#ifndef AFS_SMP
+#define AFS_SMP 1
+#endif
 #endif
 /* Using "AFS_SMP" to map to however many #define's are required to get
  * MP to compile for Linux
  */
 #ifdef AFS_SMP
+#ifndef CONFIG_SMP
 #define CONFIG_SMP 1
+#endif
 #ifndef __SMP__
 #define __SMP__
 #endif