]> err.no Git - linux-2.6/blobdiff - lib/dec_and_lock.c
[PATCH] lib/radix-tree: Fix "nocast type" warnings
[linux-2.6] / lib / dec_and_lock.c
index 6658d81e1836517107b5b8b39aa0c7e65032ec6e..2377af057d099ebd628bd9f7039cd4f54c9bf229 100644 (file)
@@ -25,8 +25,6 @@
  * this is trivially done efficiently using a load-locked
  * store-conditional approach, for example.
  */
-
-#ifndef ATOMIC_DEC_AND_LOCK
 int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock)
 {
        spin_lock(lock);
@@ -37,4 +35,3 @@ int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock)
 }
 
 EXPORT_SYMBOL(_atomic_dec_and_lock);
-#endif