patch-2.1.79 linux/include/asm-ppc/atomic.h

Next file: linux/include/asm-ppc/cache.h
Previous file: linux/include/asm-ppc/adb_mouse.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/include/asm-ppc/atomic.h linux/include/asm-ppc/atomic.h
@@ -17,6 +17,7 @@
 #define atomic_set(v,i)		(((v)->counter) = (i))
 
 extern void atomic_add(int a, atomic_t *v);
+extern int  atomic_add_return(int a, atomic_t *v);
 extern void atomic_sub(int a, atomic_t *v);
 extern void atomic_inc(atomic_t *v);
 extern int  atomic_inc_return(atomic_t *v);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov