patch-2.4.25 linux-2.4.25/include/asm-mips/delay.h

Next file: linux-2.4.25/include/asm-mips/elf.h
Previous file: linux-2.4.25/include/asm-mips/dec/kn05.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-mips/delay.h linux-2.4.25/include/asm-mips/delay.h
@@ -14,8 +14,7 @@
 
 extern unsigned long loops_per_jiffy;
 
-extern __inline__ void
-__delay(unsigned long loops)
+static __inline__ void __delay(unsigned long loops)
 {
 	__asm__ __volatile__ (
 		".set\tnoreorder\n"
@@ -36,7 +35,7 @@
  * first constant multiplications gets optimized away if the delay is
  * a constant)
  */
-extern __inline__ void __udelay(unsigned long usecs, unsigned long lpj)
+static __inline__ void __udelay(unsigned long usecs, unsigned long lpj)
 {
 	unsigned long lo;
 
@@ -51,7 +50,7 @@
 	__delay(usecs);
 }
 
-extern __inline__ void __ndelay(unsigned long nsecs, unsigned long lpj)
+static __inline__ void __ndelay(unsigned long nsecs, unsigned long lpj)
 {
 	unsigned long lo;
 

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