patch-2.4.0-prerelease linux/arch/m68k/kernel/semaphore.c
Next file: linux/arch/m68k/kernel/setup.c
Previous file: linux/arch/m68k/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri Dec 29 14:07:20 2000
- Orig file:
v2.4.0-test12/linux/arch/m68k/kernel/semaphore.c
- Orig date:
Sun Nov 19 18:44:03 2000
diff -u --recursive --new-file v2.4.0-test12/linux/arch/m68k/kernel/semaphore.c linux/arch/m68k/kernel/semaphore.c
@@ -3,8 +3,13 @@
* specific changes in <asm/semaphore-helper.h>
*/
+#include <linux/config.h>
#include <linux/sched.h>
#include <asm/semaphore-helper.h>
+
+#ifndef CONFIG_RMW_INSNS
+spinlock_t semaphore_wake_lock;
+#endif
/*
* Semaphores are implemented using a two-way counter:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)