From: Derrick Brashear Date: Mon, 16 Jul 2001 23:06:26 +0000 (+0000) Subject: linux22-param-file-needs-modversions-reordering-20010716 X-Git-Tag: BP-openafs-stable-1_2_x~94 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=354fb1739295cdb10bc08a537db158a70cd18379;hp=9e09de0b96b3a6a97e6d22c99e3730d1f771a360 linux22-param-file-needs-modversions-reordering-20010716 to make it possible to build modversion'd kernel on linux 2.2 --- diff --git a/src/config/param.i386_linux22.h b/src/config/param.i386_linux22.h index 765e04f..b09d35a 100644 --- a/src/config/param.i386_linux22.h +++ b/src/config/param.i386_linux22.h @@ -28,20 +28,7 @@ #define AFS_64BIT_IOPS_ENV 1 #define AFS_NAMEI_ENV 1 /* User space interface to file system */ -/* 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) -#if defined(MODULE) && defined(CONFIG_MODVERSIONS) -#define MODVERSIONS -#include -#endif - #include #ifdef CONFIG_SMP #undef CONFIG_SMP @@ -60,14 +47,19 @@ #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 #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