From b9c11bc28108c3815a639314b72697016a9c4d87 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 16 May 2001 05:16:27 +0000 Subject: [PATCH] linux24-param-cleanup-20010516 make usr version of file not define 64 bit env make kernel version include modversions before afs_sysnames.h (which includes stds.h) --- src/config/param.i386_linux24.h | 22 ++++++++++++---------- src/config/param.i386_linux24_usr.h | 1 - 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/config/param.i386_linux24.h b/src/config/param.i386_linux24.h index 0e8e95401..6d572e70e 100644 --- a/src/config/param.i386_linux24.h +++ b/src/config/param.i386_linux24.h @@ -20,22 +20,22 @@ #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) +#if defined(MODULE) && defined(CONFIG_MODVERSIONS) +#define MODVERSIONS +#include +#endif + #include #ifdef CONFIG_SMP #undef CONFIG_SMP @@ -52,11 +52,6 @@ #define AFS_GLOBAL_SUNLOCK #endif -#if defined(MODULE) && defined(CONFIG_MODVERSIONS) -#define MODVERSIONS -#include -#endif - #endif /* __KERNEL__ && !DUMP_KERNEL*/ #ifdef KERNEL @@ -68,4 +63,11 @@ #endif #endif /* KERNEL */ +#include +/* Machine / Operating system information */ +#define SYS_NAME "i386_linux24" +#define SYS_NAME_ID SYS_NAME_ID_i386_linux24 + #endif /* _PARAM_I386_LINUX24_H_ */ + + diff --git a/src/config/param.i386_linux24_usr.h b/src/config/param.i386_linux24_usr.h index 394d1a988..01c1ab1cc 100644 --- a/src/config/param.i386_linux24_usr.h +++ b/src/config/param.i386_linux24_usr.h @@ -17,7 +17,6 @@ #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */ #define AFS_SYSCALL 137 -#define AFS_64BIT_ENV #define AFS_64BIT_IOPS_ENV 1 #define AFS_NAMEI_ENV 1 /* User space interface to file system */ #include -- 2.39.5