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 392c469..6967667 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