patch-2.4.10 linux/lib/dec_and_lock.c
Next file: linux/lib/rbtree.c
Previous file: linux/lib/bust_spinlocks.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Aug 28 07:11:33 2001
- Orig file:
v2.4.9/linux/lib/dec_and_lock.c
- Orig date:
Fri Jul 7 16:22:48 2000
diff -u --recursive --new-file v2.4.9/linux/lib/dec_and_lock.c linux/lib/dec_and_lock.c
@@ -1,3 +1,4 @@
+#include <linux/module.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>
@@ -34,4 +35,6 @@
spin_unlock(lock);
return 0;
}
+
+EXPORT_SYMBOL(atomic_dec_and_lock);
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)