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)
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif
* 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
* 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
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif
* 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
* 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
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#define __SMP__
#define AFS_GLOBAL_SUNLOCK
#endif
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif
* MP to compile for Linux
*/
#ifdef AFS_SMP
-#define CONFIG_SMP
+#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif