mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
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.
This commit is contained in:
parent
307543629d
commit
691edd4ea6
@ -35,7 +35,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
@ -37,7 +37,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -38,7 +38,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
@ -28,7 +28,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
@ -28,7 +28,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
@ -30,7 +30,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -36,7 +36,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
@ -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
|
||||
|
@ -31,7 +31,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
@ -33,7 +33,7 @@
|
||||
* MP to compile for Linux
|
||||
*/
|
||||
#ifdef AFS_SMP
|
||||
#define CONFIG_SMP
|
||||
#define CONFIG_SMP 1
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user