From: Sam Hartman Date: Thu, 5 Jul 2001 01:05:06 +0000 (+0000) Subject: Import snapshot of 1.0.90 with autoconf support. X-Git-Tag: upstream/1.0.90 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1ca3cb340b960a31052e5e954aafabdd57a5acc9;p=packages%2Fo%2Fopenafs.git Import snapshot of 1.0.90 with autoconf support. --- diff --git a/src/config/param.i386_linux24.h b/src/config/param.i386_linux24.h index 0e8e95401..618919b68 100644 --- a/src/config/param.i386_linux24.h +++ b/src/config/param.i386_linux24.h @@ -20,20 +20,6 @@ #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 @@ -48,7 +34,9 @@ #ifndef CONFIG_X86_LOCAL_APIC #define CONFIG_X86_LOCAL_APIC #endif +#ifndef __SMP__ #define __SMP__ +#endif #define AFS_GLOBAL_SUNLOCK #endif @@ -59,6 +47,16 @@ #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 */ + +#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 #define MIN(A,B) ((A) < (B) ? (A) : (B)) @@ -68,4 +66,10 @@ #endif #endif /* KERNEL */ +/* 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 diff --git a/src/config/param.sun4x_58.h b/src/config/param.sun4x_58.h index fbee6f77a..5e48cf7dc 100644 --- a/src/config/param.sun4x_58.h +++ b/src/config/param.sun4x_58.h @@ -99,11 +99,11 @@ #define AFS_KALLOC_NOSLEEP(n) kmem_alloc(n, KM_NOSLEEP) #define AFS_KFREE kmem_free #define VATTR_NULL vattr_null -#endif KERNEL +#endif /* KERNEL */ #define AFS_DIRENT #ifndef CMSERVERPREF #define CMSERVERPREF #endif #define ROOTINO UFSROOTINO -#endif _PARAM_SUN4X_58_H_ +#endif /* _PARAM_SUN4X_58_H_ */ diff --git a/src/config/param.sun4x_58_usr.h b/src/config/param.sun4x_58_usr.h index 9de7672d4..1147ef340 100644 --- a/src/config/param.sun4x_58_usr.h +++ b/src/config/param.sun4x_58_usr.h @@ -56,4 +56,4 @@ #endif #define ROOTINO UFSROOTINO -#endif _PARAM_SUN4X_58_H_ +#endif /* _PARAM_SUN4X_58_H_ */