From febbd0f1ae9ae8700c0f9004979442e45a5e9883 Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Mon, 12 Sep 2011 21:54:09 -0400 Subject: [PATCH] Tidy up event hash table definitions a bit more The change in http://gerrit.openafs.org/5314 consolidated the definitions of struct afs_event and some related objects, but the definitions were not quite in the right place. In http://gerrit.openafs.org/5392 this content was moved to more standard headers, but a comment and #define were missed. This change moves the comment to be in the same place as the content. Change-Id: I86831879e9a2afd9e653182dcba4621624c55471 Reviewed-on: http://gerrit.openafs.org/5403 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/afs/afs.h | 6 +++++- src/afs/afs_osi.h | 6 ------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/afs/afs.h b/src/afs/afs.h index 93bb776..094bcfe 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -1559,7 +1559,11 @@ struct afssysa { extern int Afs_syscall(struct afssysa *uap, rval_t *rvp); #endif /* AFS_SUN5_ENV */ -/* The event hash table, and array */ +/* + * Various definitions for osi_sleep and its event hash table + * DFBSD and SUNOS have no osi_sleep, and HPUX has its own hack for this stuff + */ +#define AFS_EVHASHSIZE 128 /* size of afs_evhasht, must be power of 2 */ typedef struct afs_event { struct afs_event *next; /* next in hash chain */ diff --git a/src/afs/afs_osi.h b/src/afs/afs_osi.h index 6cea472..2b81aa6 100644 --- a/src/afs/afs_osi.h +++ b/src/afs/afs_osi.h @@ -124,12 +124,6 @@ struct afs_osi_WaitHandle { #define osi_NPACKETS 20 /* number of cluster pkts to alloc */ -/* - * Various definitions for osi_sleep and its event hash table - * DFBSD and SUNOS have no osi_sleep, and HPUX has its own hack for this stuff - */ -#define AFS_EVHASHSIZE 128 /* size of afs_evhasht, must be power of 2 */ - /* -- 1.9.4