#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.
This commit is contained in:
Garry Zacheiss 2002-06-22 05:24:49 +00:00
parent 307543629d
commit 691edd4ea6
14 changed files with 14 additions and 14 deletions

View File

@ -35,7 +35,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif

View File

@ -37,7 +37,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif

View File

@ -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

View File

@ -32,7 +32,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

View File

@ -38,7 +38,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif

View File

@ -28,7 +28,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif

View File

@ -28,7 +28,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif

View File

@ -30,7 +30,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif

View File

@ -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

View File

@ -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

View File

@ -36,7 +36,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif

View File

@ -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

View File

@ -31,7 +31,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif

View File

@ -33,7 +33,7 @@
* MP to compile for Linux
*/
#ifdef AFS_SMP
#define CONFIG_SMP
#define CONFIG_SMP 1
#ifndef __SMP__
#define __SMP__
#endif