patch-2.4.4 linux/include/asm-mips/semaphore.h
Next file: linux/include/asm-mips/sgi/sgimc.h
Previous file: linux/include/asm-mips/processor.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Apr 17 17:19:31 2001
- Orig file:
v2.4.3/linux/include/asm-mips/semaphore.h
- Orig date:
Sat May 13 08:31:25 2000
diff -u --recursive --new-file v2.4.3/linux/include/asm-mips/semaphore.h linux/include/asm-mips/semaphore.h
@@ -18,6 +18,7 @@
#include <linux/spinlock.h>
#include <linux/wait.h>
#include <linux/config.h>
+#include <linux/rwsem.h>
struct semaphore {
#ifdef __MIPSEB__
@@ -215,7 +216,7 @@
atomic_t count;
/* bit 0 means read bias granted;
bit 1 means write bias granted. */
- unsigned granted;
+ unsigned long granted; /* pedant: long req'd for set_bit */
wait_queue_head_t wait;
wait_queue_head_t write_bias_wait;
#if WAITQUEUE_DEBUG
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)