From: Sam Hartman Date: Sat, 23 Jun 2001 16:17:59 +0000 (+0000) Subject: Back out patch X-Git-Tag: debian/1.0.4-3~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9796afc8ac01716384994e5c1bfad806606c9603;p=packages%2Fo%2Fopenafs.git Back out patch --- diff --git a/src/config/param.i386_linux22.h b/src/config/param.i386_linux22.h index fa2f99ed6..85506a61c 100644 --- a/src/config/param.i386_linux22.h +++ b/src/config/param.i386_linux22.h @@ -27,6 +27,21 @@ #define AFS_SYSCALL 137 #define AFS_64BIT_IOPS_ENV 1 #define AFS_NAMEI_ENV 1 /* User space interface to file system */ +#include + +#define AFS_USERSPACE_IP_ADDR 1 +#define RXK_LISTENER_ENV 1 +#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */ + + +/* Machine / Operating system information */ +#define SYS_NAME "i386_linux22" +#define SYS_NAME_ID SYS_NAME_ID_i386_linux22 +#define AFSLITTLE_ENDIAN 1 +#define AFS_HAVE_FFS 1 /* Use system's ffs. */ +#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */ +#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */ + #if defined(__KERNEL__) && !defined(KDUMP_KERNEL) #include #ifdef CONFIG_SMP @@ -50,21 +65,6 @@ #endif #endif /* __KERNEL__ && !DUMP_KERNEL*/ -#include - -#define AFS_USERSPACE_IP_ADDR 1 -#define RXK_LISTENER_ENV 1 -#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */ - - -/* Machine / Operating system information */ -#define SYS_NAME "i386_linux22" -#define SYS_NAME_ID SYS_NAME_ID_i386_linux22 -#define AFSLITTLE_ENDIAN 1 -#define AFS_HAVE_FFS 1 /* Use system's ffs. */ -#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */ -#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */ - #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.i386_linux24.h b/src/config/param.i386_linux24.h index ea36e8121..0e8e95401 100644 --- a/src/config/param.i386_linux24.h +++ b/src/config/param.i386_linux24.h @@ -20,6 +20,21 @@ #define AFS_SYSCALL 137 #define AFS_64BIT_IOPS_ENV 1 #define AFS_NAMEI_ENV 1 /* User space interface to file system */ +#include + +#define AFS_USERSPACE_IP_ADDR 1 +#define RXK_LISTENER_ENV 1 +#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */ + + +/* Machine / Operating system information */ +#define SYS_NAME "i386_linux24" +#define SYS_NAME_ID SYS_NAME_ID_i386_linux24 +#define AFSLITTLE_ENDIAN 1 +#define AFS_HAVE_FFS 1 /* Use system's ffs. */ +#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */ +#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */ + #if defined(__KERNEL__) && !defined(KDUMP_KERNEL) #include #ifdef CONFIG_SMP @@ -43,21 +58,6 @@ #endif #endif /* __KERNEL__ && !DUMP_KERNEL*/ -#include - -#define AFS_USERSPACE_IP_ADDR 1 -#define RXK_LISTENER_ENV 1 -#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */ - - -/* Machine / Operating system information */ -#define SYS_NAME "i386_linux24" -#define SYS_NAME_ID SYS_NAME_ID_i386_linux24 -#define AFSLITTLE_ENDIAN 1 -#define AFS_HAVE_FFS 1 /* Use system's ffs. */ -#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */ -#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */ - #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ppc_linux22.h b/src/config/param.ppc_linux22.h index c28276962..93e46cf34 100644 --- a/src/config/param.ppc_linux22.h +++ b/src/config/param.ppc_linux22.h @@ -18,25 +18,6 @@ #define AFS_SYSCALL 137 #define AFS_64BIT_IOPS_ENV 1 #define AFS_NAMEI_ENV 1 /* User space interface to file system */ -#if defined(__KERNEL__) && !defined(KDUMP_KERNEL) -#include -#ifdef CONFIG_SMP -#undef CONFIG_SMP -#endif -/* Using "AFS_SMP" to map to however many #define's are required to get - * MP to compile for Linux - */ -#ifdef AFS_SMP -#define CONFIG_SMP -#define __SMP__ -#define AFS_GLOBAL_SUNLOCK -#endif - -#if defined(MODULE) && defined(CONFIG_MODVERSIONS) -#define MODVERSIONS -#include -#endif -#endif /* __KERNEL__ && !DUMP_KERNEL*/ #include #define AFS_USERSPACE_IP_ADDR 1 @@ -52,6 +33,21 @@ #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */ #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */ +#if defined(__KERNEL__) && !defined(KDUMP_KERNEL) +#include +#ifdef CONFIG_SMP +#undef CONFIG_SMP +#endif +/* Using "AFS_SMP" to map to however many #define's are required to get + * MP to compile for Linux + */ +#ifdef AFS_SMP +#define CONFIG_SMP +#define __SMP__ +#define AFS_GLOBAL_SUNLOCK +#endif + +#endif /* __KERNEL__ && !DUMP_KERNEL*/ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ppc_linux24.h b/src/config/param.ppc_linux24.h index 183388f01..b88c0c01e 100644 --- a/src/config/param.ppc_linux24.h +++ b/src/config/param.ppc_linux24.h @@ -20,24 +20,6 @@ #define AFS_SYSCALL 137 #define AFS_64BIT_IOPS_ENV 1 #define AFS_NAMEI_ENV 1 /* User space interface to file system */ -#include -#ifdef CONFIG_SMP -#undef CONFIG_SMP -#endif -/* Using "AFS_SMP" to map to however many #define's are required to get - * MP to compile for Linux - */ -#ifdef AFS_SMP -#define CONFIG_SMP -#define __SMP__ -#define AFS_GLOBAL_SUNLOCK -#endif - -#if defined(MODULE) && defined(CONFIG_MODVERSIONS) -#define MODVERSIONS -#include -#endif -#endif /* __KERNEL__ && !DUMP_KERNEL*/ #include #define AFS_USERSPACE_IP_ADDR 1 @@ -54,6 +36,20 @@ #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */ #if defined(__KERNEL__) && !defined(KDUMP_KERNEL) +#include +#ifdef CONFIG_SMP +#undef CONFIG_SMP +#endif +/* Using "AFS_SMP" to map to however many #define's are required to get + * MP to compile for Linux + */ +#ifdef AFS_SMP +#define CONFIG_SMP +#define __SMP__ +#define AFS_GLOBAL_SUNLOCK +#endif + +#endif /* __KERNEL__ && !DUMP_KERNEL*/ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.sparc_linux22.h b/src/config/param.sparc_linux22.h index dc72d2624..f0b4214d6 100644 --- a/src/config/param.sparc_linux22.h +++ b/src/config/param.sparc_linux22.h @@ -21,25 +21,6 @@ #define AFS_SYSCALL 227 #define AFS_64BIT_IOPS_ENV 1 #define AFS_NAMEI_ENV 1 /* User space interface to file system */ -#if defined(__KERNEL__) && !defined(KDUMP_KERNEL) -#include -#ifdef CONFIG_SMP -#undef CONFIG_SMP -#endif -/* Using "AFS_SMP" to map to however many #define's are required to get - * MP to compile for Linux - */ -#ifdef AFS_SMP -#define CONFIG_SMP -#define __SMP__ -#define AFS_GLOBAL_SUNLOCK -#endif -#if defined(MODULE) && defined(CONFIG_MODVERSIONS) -#define MODVERSIONS -#include -#endif - -#endif /* __KERNEL__ && !DUMP_KERNEL*/ #include #define AFS_USERSPACE_IP_ADDR 1 @@ -55,6 +36,21 @@ #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */ #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */ +#if defined(__KERNEL__) && !defined(KDUMP_KERNEL) +#include +#ifdef CONFIG_SMP +#undef CONFIG_SMP +#endif +/* Using "AFS_SMP" to map to however many #define's are required to get + * MP to compile for Linux + */ +#ifdef AFS_SMP +#define CONFIG_SMP +#define __SMP__ +#define AFS_GLOBAL_SUNLOCK +#endif + +#endif /* __KERNEL__ && !DUMP_KERNEL*/ #ifdef KERNEL #ifndef MIN