From: Chaskiel M Grundman Date: Mon, 15 Jan 2007 18:15:45 +0000 (+0000) Subject: alloc-sem-is-sem-20070115 X-Git-Tag: BP-openafs-windows-kdfs-ifs~853 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=aef763b3c0a5f5d6947f857cb480e29afe4b8e29;p=packages%2Fo%2Fopenafs.git alloc-sem-is-sem-20070115 this change didn't belong... --- diff --git a/src/afs/LINUX/osi_alloc.c b/src/afs/LINUX/osi_alloc.c index 24dd1f77a..23994d07b 100644 --- a/src/afs/LINUX/osi_alloc.c +++ b/src/afs/LINUX/osi_alloc.c @@ -282,11 +282,7 @@ get_hash_stats() /************** Linux memory allocator interface functions **********/ #if defined(AFS_LINUX24_ENV) -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) -DEFINE_MUTEX(afs_linux_alloc_sem); -#else DECLARE_MUTEX(afs_linux_alloc_sem); -#endif #else struct semaphore afs_linux_alloc_sem = MUTEX; #endif