From: Chaskiel M Grundman Date: Wed, 27 Apr 2005 22:56:12 +0000 (+0000) Subject: STABLE14-linux-always-glock-20050427 X-Git-Tag: openafs-devel-1_3_82~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f107740d3afe02d043626a0458f63d94ad8038b8;p=packages%2Fo%2Fopenafs.git STABLE14-linux-always-glock-20050427 finish this up, always glock on linux (cherry picked from commit c90b1bd66a8c2565a4b6927d2344768b0768c545) --- diff --git a/src/afs/LINUX/osi_machdep.h b/src/afs/LINUX/osi_machdep.h index 208dd5672..707a467ad 100644 --- a/src/afs/LINUX/osi_machdep.h +++ b/src/afs/LINUX/osi_machdep.h @@ -199,7 +199,7 @@ extern unsigned long afs_linux_page_offset; /* function to help with the page offset stuff */ #define afs_linux_page_address(page) (afs_linux_page_offset + PAGE_SIZE * (page - mem_map)) -#if defined(__KERNEL__) && defined(CONFIG_SMP) +#if defined(__KERNEL__) #include "../h/sched.h" #include "linux/wait.h" diff --git a/src/config/param.alpha_linux_22.h b/src/config/param.alpha_linux_22.h index 0976fed89..481632526 100644 --- a/src/config/param.alpha_linux_22.h +++ b/src/config/param.alpha_linux_22.h @@ -42,8 +42,8 @@ #ifndef __SMP__ #define __SMP__ #endif -#define AFS_GLOBAL_SUNLOCK #endif +#define AFS_GLOBAL_SUNLOCK #if defined(MODULE) && defined(CONFIG_MODVERSIONS) #define MODVERSIONS #include diff --git a/src/config/param.i386_linux22.h b/src/config/param.i386_linux22.h index 790f7a287..24f3183d4 100644 --- a/src/config/param.i386_linux22.h +++ b/src/config/param.i386_linux22.h @@ -47,8 +47,8 @@ #ifndef __SMP__ #define __SMP__ #endif -#define AFS_GLOBAL_SUNLOCK #endif +#define AFS_GLOBAL_SUNLOCK #if defined(MODULE) && defined(CONFIG_MODVERSIONS) #define MODVERSIONS diff --git a/src/config/param.i386_umlinux22.h b/src/config/param.i386_umlinux22.h index 97a22cf5b..55c7c70f9 100644 --- a/src/config/param.i386_umlinux22.h +++ b/src/config/param.i386_umlinux22.h @@ -49,8 +49,8 @@ #ifndef __SMP__ #define __SMP__ #endif -#define AFS_GLOBAL_SUNLOCK #endif +#define AFS_GLOBAL_SUNLOCK #if defined(MODULE) && defined(CONFIG_MODVERSIONS) #define MODVERSIONS diff --git a/src/config/param.ppc_linux22.h b/src/config/param.ppc_linux22.h index 37a379eef..26f3d7fe5 100644 --- a/src/config/param.ppc_linux22.h +++ b/src/config/param.ppc_linux22.h @@ -35,8 +35,8 @@ #ifndef __SMP__ #define __SMP__ #endif -#define AFS_GLOBAL_SUNLOCK #endif +#define AFS_GLOBAL_SUNLOCK #if defined(MODULE) && defined(CONFIG_MODVERSIONS) #define MODVERSIONS diff --git a/src/config/param.s390_linux22.h b/src/config/param.s390_linux22.h index 700fdca85..c19b3997b 100644 --- a/src/config/param.s390_linux22.h +++ b/src/config/param.s390_linux22.h @@ -48,8 +48,8 @@ #ifndef __SMP__ #define __SMP__ #endif -#define AFS_GLOBAL_SUNLOCK #endif +#define AFS_GLOBAL_SUNLOCK #if defined(MODULE) && defined(CONFIG_MODVERSIONS) #define MODVERSIONS diff --git a/src/config/param.sparc64_linux22.h b/src/config/param.sparc64_linux22.h index 3e6f4e3b1..bd5547c8d 100644 --- a/src/config/param.sparc64_linux22.h +++ b/src/config/param.sparc64_linux22.h @@ -50,8 +50,8 @@ #ifndef __SMP__ #define __SMP__ #endif -#define AFS_GLOBAL_SUNLOCK #endif +#define AFS_GLOBAL_SUNLOCK #if defined(MODULE) && defined(CONFIG_MODVERSIONS) #define MODVERSIONS diff --git a/src/config/param.sparc_linux22.h b/src/config/param.sparc_linux22.h index 1eec93b4f..d2a2eb789 100644 --- a/src/config/param.sparc_linux22.h +++ b/src/config/param.sparc_linux22.h @@ -45,8 +45,8 @@ #ifndef __SMP__ #define __SMP__ #endif -#define AFS_GLOBAL_SUNLOCK #endif +#define AFS_GLOBAL_SUNLOCK #if defined(MODULE) && defined(CONFIG_MODVERSIONS) #define MODVERSIONS