From 7dd07b912b62b62cc19a24abfd6ebd81abc3cca7 Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Thu, 14 Apr 2005 03:32:46 +0000 Subject: [PATCH] bye-getitimer-20050413 FIXES 18221 stop using getitimer on linux --- src/config/param.alpha_linux_22.h | 1 + src/config/param.alpha_linux_24.h | 1 + src/config/param.alpha_linux_26.h | 1 + src/config/param.amd64_linux24.h | 1 + src/config/param.amd64_linux26.h | 1 + src/config/param.i386_linux22.h | 1 + src/config/param.i386_linux24.h | 1 + src/config/param.i386_linux26.h | 1 + src/config/param.i386_umlinux22.h | 1 + src/config/param.i386_umlinux24.h | 1 + src/config/param.i386_umlinux26.h | 1 + src/config/param.ia64_linux24.h | 1 + src/config/param.ia64_linux26.h | 1 + src/config/param.parisc_linux24.h | 1 + src/config/param.ppc64_linux24.h | 1 + src/config/param.ppc64_linux26.h | 1 + src/config/param.ppc_linux22.h | 1 + src/config/param.ppc_linux24.h | 1 + src/config/param.ppc_linux26.h | 1 + src/config/param.s390_linux22.h | 1 + src/config/param.s390_linux24.h | 1 + src/config/param.s390x_linux24.h | 1 + src/config/param.s390x_linux26.h | 1 + src/config/param.sparc64_linux22.h | 1 + src/config/param.sparc64_linux24.h | 1 + src/config/param.sparc_linux22.h | 1 + src/config/param.sparc_linux24.h | 2 ++ 27 files changed, 28 insertions(+) diff --git a/src/config/param.alpha_linux_22.h b/src/config/param.alpha_linux_22.h index 3e7f7c442..0976fed89 100644 --- a/src/config/param.alpha_linux_22.h +++ b/src/config/param.alpha_linux_22.h @@ -63,6 +63,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.alpha_linux_24.h b/src/config/param.alpha_linux_24.h index 0a6429b84..24e833785 100644 --- a/src/config/param.alpha_linux_24.h +++ b/src/config/param.alpha_linux_24.h @@ -65,6 +65,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.alpha_linux_26.h b/src/config/param.alpha_linux_26.h index 8bbcff38b..8b914f70e 100644 --- a/src/config/param.alpha_linux_26.h +++ b/src/config/param.alpha_linux_26.h @@ -67,6 +67,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.amd64_linux24.h b/src/config/param.amd64_linux24.h index 16e5a9c96..cfe86236b 100644 --- a/src/config/param.amd64_linux24.h +++ b/src/config/param.amd64_linux24.h @@ -78,6 +78,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.amd64_linux26.h b/src/config/param.amd64_linux26.h index ca6b125e8..037426ae0 100644 --- a/src/config/param.amd64_linux26.h +++ b/src/config/param.amd64_linux26.h @@ -63,6 +63,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.i386_linux22.h b/src/config/param.i386_linux22.h index 31d93f341..790f7a287 100644 --- a/src/config/param.i386_linux22.h +++ b/src/config/param.i386_linux22.h @@ -71,6 +71,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.i386_linux24.h b/src/config/param.i386_linux24.h index c738a1b9c..ae67b107c 100644 --- a/src/config/param.i386_linux24.h +++ b/src/config/param.i386_linux24.h @@ -63,6 +63,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.i386_linux26.h b/src/config/param.i386_linux26.h index 696766711..91e9e6c92 100644 --- a/src/config/param.i386_linux26.h +++ b/src/config/param.i386_linux26.h @@ -64,6 +64,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.i386_umlinux22.h b/src/config/param.i386_umlinux22.h index 88454c1cd..97a22cf5b 100644 --- a/src/config/param.i386_umlinux22.h +++ b/src/config/param.i386_umlinux22.h @@ -73,6 +73,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.i386_umlinux24.h b/src/config/param.i386_umlinux24.h index 89544da7b..5991c1eff 100644 --- a/src/config/param.i386_umlinux24.h +++ b/src/config/param.i386_umlinux24.h @@ -71,6 +71,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.i386_umlinux26.h b/src/config/param.i386_umlinux26.h index 831eb2a2a..62f4f1a84 100644 --- a/src/config/param.i386_umlinux26.h +++ b/src/config/param.i386_umlinux26.h @@ -64,6 +64,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ia64_linux24.h b/src/config/param.ia64_linux24.h index 83f843392..d26a63813 100644 --- a/src/config/param.ia64_linux24.h +++ b/src/config/param.ia64_linux24.h @@ -78,6 +78,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ia64_linux26.h b/src/config/param.ia64_linux26.h index 6fcbda30c..3df34e510 100644 --- a/src/config/param.ia64_linux26.h +++ b/src/config/param.ia64_linux26.h @@ -87,6 +87,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.parisc_linux24.h b/src/config/param.parisc_linux24.h index a4d71afb3..17a303b63 100644 --- a/src/config/param.parisc_linux24.h +++ b/src/config/param.parisc_linux24.h @@ -61,6 +61,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ppc64_linux24.h b/src/config/param.ppc64_linux24.h index a207e8957..dbb8901d4 100644 --- a/src/config/param.ppc64_linux24.h +++ b/src/config/param.ppc64_linux24.h @@ -66,6 +66,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ppc64_linux26.h b/src/config/param.ppc64_linux26.h index e20ff6f7d..1b626e045 100644 --- a/src/config/param.ppc64_linux26.h +++ b/src/config/param.ppc64_linux26.h @@ -68,6 +68,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ppc_linux22.h b/src/config/param.ppc_linux22.h index ad1d4658d..37a379eef 100644 --- a/src/config/param.ppc_linux22.h +++ b/src/config/param.ppc_linux22.h @@ -58,6 +58,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ppc_linux24.h b/src/config/param.ppc_linux24.h index 3ee2508c4..69dc6bfb9 100644 --- a/src/config/param.ppc_linux24.h +++ b/src/config/param.ppc_linux24.h @@ -63,6 +63,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.ppc_linux26.h b/src/config/param.ppc_linux26.h index fd32b6a0b..aa0f81eeb 100644 --- a/src/config/param.ppc_linux26.h +++ b/src/config/param.ppc_linux26.h @@ -65,6 +65,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.s390_linux22.h b/src/config/param.s390_linux22.h index c4f473f1d..700fdca85 100644 --- a/src/config/param.s390_linux22.h +++ b/src/config/param.s390_linux22.h @@ -71,6 +71,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.s390_linux24.h b/src/config/param.s390_linux24.h index 986abb73f..d1f126cd7 100644 --- a/src/config/param.s390_linux24.h +++ b/src/config/param.s390_linux24.h @@ -75,6 +75,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.s390x_linux24.h b/src/config/param.s390x_linux24.h index ed1942196..a8db50e2a 100644 --- a/src/config/param.s390x_linux24.h +++ b/src/config/param.s390x_linux24.h @@ -80,6 +80,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.s390x_linux26.h b/src/config/param.s390x_linux26.h index f4cc8931b..4d773426a 100644 --- a/src/config/param.s390x_linux26.h +++ b/src/config/param.s390x_linux26.h @@ -82,6 +82,7 @@ extern SYSCALLTYPE sys_call_table_emu[] __attribute__((weak)); #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.sparc64_linux22.h b/src/config/param.sparc64_linux22.h index 18e72588e..3e6f4e3b1 100644 --- a/src/config/param.sparc64_linux22.h +++ b/src/config/param.sparc64_linux22.h @@ -73,6 +73,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.sparc64_linux24.h b/src/config/param.sparc64_linux24.h index 654a0848b..108a63a60 100644 --- a/src/config/param.sparc64_linux24.h +++ b/src/config/param.sparc64_linux24.h @@ -74,6 +74,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL diff --git a/src/config/param.sparc_linux22.h b/src/config/param.sparc_linux22.h index bde15329e..1eec93b4f 100644 --- a/src/config/param.sparc_linux22.h +++ b/src/config/param.sparc_linux22.h @@ -67,6 +67,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN diff --git a/src/config/param.sparc_linux24.h b/src/config/param.sparc_linux24.h index 015500c07..09145962e 100644 --- a/src/config/param.sparc_linux24.h +++ b/src/config/param.sparc_linux24.h @@ -72,6 +72,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #ifdef KERNEL #ifndef MIN @@ -149,6 +150,7 @@ #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 */ +#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */ #define afsio_iov uio_iov #define afsio_iovcnt uio_iovcnt -- 2.39.5