]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
linux26-dont-lose-afs-smp-status-20040729
authorRainer Schöpf <rainer.schoepf@proteosys.com>
Thu, 29 Jul 2004 22:29:18 +0000 (22:29 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 29 Jul 2004 22:29:18 +0000 (22:29 +0000)
this should be fixed better later, but for now we'll go with this

src/config/param.i386_linux26.h

index 392c469bcd71fe88ac3da98726c23962af9f886a..6967667116b9dc28fb8eda71ae149f50c3851f6b 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 CONFIG_X86_LOCAL_APIC
 #define CONFIG_X86_LOCAL_APIC 1
 #endif