Tidy up event hash table definitions a bit more
authorBen Kaduk <kaduk@mit.edu>
Tue, 13 Sep 2011 01:54:09 +0000 (21:54 -0400)
committerDerrick Brashear <shadow@dementix.org>
Wed, 14 Sep 2011 17:35:10 +0000 (10:35 -0700)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>

src/afs/afs.h
src/afs/afs_osi.h

index 93bb776..094bcfe 100644 (file)
@@ -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 */
index 6cea472..2b81aa6 100644 (file)
@@ -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 */
-
 
 
 /*