Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.11 /lib/dec_and_lock.c

Filename:/lib/dec_and_lock.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.11-pre6  2.4.11-pre5  2.4.11-pre4  2.4.11-pre3  2.4.10  2.4.10-pre15 
(Following) 2.6.13-git11  2.6.13-git12  2.6.14-rc1  2.6.14-rc1-git3  2.6.14-rc1-git4  2.6.14-rc1-git5 

Location
[  2.4.11
  [  lib
     o  dec_and_lock.c

Patch

diff -u --recursive --new-file v2.4.10/linux/lib/dec_and_lock.c linux/lib/dec_and_lock.c
--- v2.4.10/linux/lib/dec_and_lock.c   Sun Sep 23 11:41:01 2001
+++ linux/lib/dec_and_lock.c   Wed Oct  3 09:11:26 2001
@@ -26,7 +26,7 @@
  * store-conditional approach, for example.
  */
 
-#ifndef atomic_dec_and_lock
+#ifndef ATOMIC_DEC_AND_LOCK
 int atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock)
 {
    spin_lock(lock);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.