patch-2.4.25 linux-2.4.25/include/asm-mips64/atomic.h

Next file: linux-2.4.25/include/asm-mips64/bootinfo.h
Previous file: linux-2.4.25/include/asm-mips64/asm.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-mips64/atomic.h linux-2.4.25/include/asm-mips64/atomic.h
@@ -40,7 +40,7 @@
  */
 #define atomic_set(v,i)	((v)->counter = (i))
 
-extern __inline__ void atomic_add(int i, volatile atomic_t * v)
+static __inline__ void atomic_add(int i, volatile atomic_t * v)
 {
 	unsigned long temp;
 
@@ -61,7 +61,7 @@
  * Atomically subtracts @i from @v.  Note that the guaranteed
  * useful range of an atomic_t is only 24 bits.
  */
-extern __inline__ void atomic_sub(int i, volatile atomic_t * v)
+static __inline__ void atomic_sub(int i, volatile atomic_t * v)
 {
 	unsigned long temp;
 
@@ -77,7 +77,7 @@
 /*
  * Same as above, but return the result value
  */
-extern __inline__ int atomic_add_return(int i, atomic_t * v)
+static __inline__ int atomic_add_return(int i, atomic_t * v)
 {
 	unsigned long temp, result;
 
@@ -97,7 +97,7 @@
 	return result;
 }
 
-extern __inline__ int atomic_sub_return(int i, atomic_t * v)
+static __inline__ int atomic_sub_return(int i, atomic_t * v)
 {
 	unsigned long temp, result;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)