]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-solaris-largefile-not-on-ia32-20050417
authorRobert Banz <banz@umbc.edu>
Tue, 19 Apr 2005 17:03:13 +0000 (17:03 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 19 Apr 2005 17:03:13 +0000 (17:03 +0000)
disable largefile on solaris x86 32 bit

(cherry picked from commit d8c0cc4c26fc779cf157fba07606060500555f38)

src/config/param.sunx86_510.h
src/config/param.sunx86_57.h
src/config/param.sunx86_58.h
src/config/param.sunx86_59.h

index d45a789af9bed451a35a4128918a75f4086d6fe6..c99fe5804e1b517f87822536f0a733c9275daa84 100644 (file)
@@ -34,7 +34,6 @@
 #define AFS_X86_ENV            1
 
 #define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
-#define AFS_64BIT_CLIENT       1       
 
 #define AFS_HAVE_FLOCK_SYSID    1
 
 #if defined(__amd64)
 #define        AFS_SUN57_64BIT_ENV     1
 #define AFS_64BIT_INO          1
+#define AFS_64BIT_CLIENT       1       
 #endif
 
 /**
index 0814f103730a11e93879d45cb3b978aec98e90e0..1fb6f94c58501733ec83e87b6212c773d301992a 100644 (file)
 #define        AFS_MINCHANGE   2
 #define        osi_GetTime(x)  uniqtime(x)
 
-/**
-  * These defines are for the 64 bit Solaris 7 port
-  * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
-  */
-#if defined(__sparcv9)
-#define        AFS_SUN57_64BIT_ENV     1
-#define AFS_64BIT_INO          1
-#endif
-
-/**
-  * Solaris 7 64 bit has two versions of uniqtime. Since we consistently
-  * use 32 bit quantities for time in afs, we now use uniqtime32
-  */
-#if defined(AFS_SUN57_64BIT_ENV)
-#undef osi_GetTime
-#define osi_GetTime(x)  uniqtime32(x)
-#endif
-
-
-
 #define        AFS_KALLOC(n)   kmem_alloc(n, KM_SLEEP)
 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
 #define        AFS_KFREE       kmem_free
index 18c08e0416e3e0503a7b0343324bfa9ddb3015a5..4bb5d7db331723e884755d257d02fde14383a81c 100644 (file)
@@ -33,7 +33,6 @@
 #define AFS_X86_ENV            1
 
 #define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
-#define AFS_64BIT_CLIENT       1       
 
 #define AFS_HAVE_FLOCK_SYSID    1
 
 #define        AFS_MINCHANGE   2
 #define        osi_GetTime(x)  uniqtime(x)
 
-/**
-  * These defines are for the 64 bit Solaris 7 port
-  * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
-  */
-#if defined(__sparcv9)
-#define        AFS_SUN57_64BIT_ENV     1
-#define AFS_64BIT_INO          1
-#endif
-
-/**
-  * Solaris 7 64 bit has two versions of uniqtime. Since we consistently
-  * use 32 bit quantities for time in afs, we now use uniqtime32
-  */
-#if defined(AFS_SUN57_64BIT_ENV)
-#undef osi_GetTime
-#define osi_GetTime(x)  uniqtime32(x)
-#endif
-
-
-
 #define        AFS_KALLOC(n)   kmem_alloc(n, KM_SLEEP)
 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
 #define        AFS_KFREE       kmem_free
index 457ce5ad146919139fc96b56c846438c588a2466..b1f69460e896c70fb4b183f768d31f7f8293ed3a 100644 (file)
@@ -34,7 +34,6 @@
 #define AFS_X86_ENV            1
 
 #define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
-#define AFS_64BIT_CLIENT       1       
 
 #define AFS_HAVE_FLOCK_SYSID    1
 
 #define        AFS_MINCHANGE   2
 #define        osi_GetTime(x)  uniqtime(x)
 
-/**
-  * These defines are for the 64 bit Solaris 7 port
-  * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
-  */
-#if defined(__sparcv9)
-#define        AFS_SUN57_64BIT_ENV     1
-#define AFS_64BIT_INO          1
-#endif
-
-/**
-  * Solaris 7 64 bit has two versions of uniqtime. Since we consistently
-  * use 32 bit quantities for time in afs, we now use uniqtime32
-  */
-#if defined(AFS_SUN57_64BIT_ENV)
-#undef osi_GetTime
-#define osi_GetTime(x)  uniqtime32(x)
-#endif
-
-
-
 #define        AFS_KALLOC(n)   kmem_alloc(n, KM_SLEEP)
 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
 #define        AFS_KFREE       kmem_free