patch-2.4.21 linux-2.4.21/include/asm-cris/semaphore.h

Next file: linux-2.4.21/include/asm-cris/sv_addr_ag.h
Previous file: linux-2.4.21/include/asm-cris/semaphore-helper.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-cris/semaphore.h linux-2.4.21/include/asm-cris/semaphore.h
@@ -1,4 +1,4 @@
-/* $Id: semaphore.h,v 1.3 2001/05/08 13:54:09 bjornw Exp $ */
+/* $Id: semaphore.h,v 1.5 2002/12/02 08:14:08 starvik Exp $ */
 
 /* On the i386 these are coded in asm, perhaps we should as well. Later.. */
 
@@ -54,12 +54,12 @@
 	*sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val);
 }
 
-static inline void init_MUTEX (struct semaphore *sem)
+extern inline void init_MUTEX (struct semaphore *sem)
 {
         sema_init(sem, 1);
 }
 
-static inline void init_MUTEX_LOCKED (struct semaphore *sem)
+extern inline void init_MUTEX_LOCKED (struct semaphore *sem)
 {
         sema_init(sem, 0);
 }

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