patch-2.2.0-pre6 linux/include/asm-arm/semaphore.h

Next file: linux/include/asm-arm/signal.h
Previous file: linux/include/asm-arm/proc-armv/uaccess.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre5/linux/include/asm-arm/semaphore.h linux/include/asm-arm/semaphore.h
@@ -18,10 +18,11 @@
 #define MUTEX_LOCKED ((struct semaphore) { ATOMIC_INIT(0), 0, NULL })
 
 asmlinkage void __down_failed (void /* special register calling convention */);
-asmlinkage int  __down_failed_interruptible (void /* special register calling convention */);
+asmlinkage int  __down_interruptible_failed (void /* special register calling convention */);
 asmlinkage void __up_wakeup (void /* special register calling convention */);
 
 extern void __down(struct semaphore * sem);
+extern int  __down_interruptible(struct semaphore * sem);
 extern void __up(struct semaphore * sem);
 
 #define sema_init(sem, val)	atomic_set(&((sem)->count), (val))

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