From 574987c521573a6fc61001f4ca1076291e763e9d Mon Sep 17 00:00:00 2001 From: Robert Banz Date: Tue, 19 Apr 2005 17:03:13 +0000 Subject: [PATCH] STABLE14-solaris-largefile-not-on-ia32-20050417 disable largefile on solaris x86 32 bit (cherry picked from commit d8c0cc4c26fc779cf157fba07606060500555f38) --- src/config/param.sunx86_510.h | 2 +- src/config/param.sunx86_57.h | 21 --------------------- src/config/param.sunx86_58.h | 22 ---------------------- src/config/param.sunx86_59.h | 22 ---------------------- 4 files changed, 1 insertion(+), 66 deletions(-) diff --git a/src/config/param.sunx86_510.h b/src/config/param.sunx86_510.h index d45a789af..c99fe5804 100644 --- a/src/config/param.sunx86_510.h +++ b/src/config/param.sunx86_510.h @@ -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 @@ -101,6 +100,7 @@ #if defined(__amd64) #define AFS_SUN57_64BIT_ENV 1 #define AFS_64BIT_INO 1 +#define AFS_64BIT_CLIENT 1 #endif /** diff --git a/src/config/param.sunx86_57.h b/src/config/param.sunx86_57.h index 0814f1037..1fb6f94c5 100644 --- a/src/config/param.sunx86_57.h +++ b/src/config/param.sunx86_57.h @@ -86,27 +86,6 @@ #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 diff --git a/src/config/param.sunx86_58.h b/src/config/param.sunx86_58.h index 18c08e041..4bb5d7db3 100644 --- a/src/config/param.sunx86_58.h +++ b/src/config/param.sunx86_58.h @@ -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 @@ -92,27 +91,6 @@ #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 diff --git a/src/config/param.sunx86_59.h b/src/config/param.sunx86_59.h index 457ce5ad1..b1f69460e 100644 --- a/src/config/param.sunx86_59.h +++ b/src/config/param.sunx86_59.h @@ -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 @@ -93,27 +92,6 @@ #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 -- 2.39.5