]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
alloc-sem-is-sem-20070115
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Mon, 15 Jan 2007 18:15:45 +0000 (18:15 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 15 Jan 2007 18:15:45 +0000 (18:15 +0000)
this change didn't belong...

src/afs/LINUX/osi_alloc.c

index 24dd1f77aab8b66f8848a30cda3a1febf6272dd8..23994d07b8416ba6b5d84cb604dd7546fa418f9f 100644 (file)
@@ -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