patch-2.4.0-prerelease linux/include/asm-m68k/semaphore-helper.h

Next file: linux/include/asm-m68k/vuid_event.h
Previous file: linux/include/asm-m68k/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/include/asm-m68k/semaphore-helper.h linux/include/asm-m68k/semaphore-helper.h
@@ -19,6 +19,10 @@
 	atomic_inc(&sem->waking);
 }
 
+#ifndef CONFIG_RMW_INSNS
+extern spinlock_t semaphore_wake_lock;
+#endif
+
 static inline int waking_non_zero(struct semaphore *sem)
 {
 	int ret;

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