summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/semaphore.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-11-17 01:45:44 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-11-17 01:45:44 +0000
commit0c6e7b6bd8049d916a117966afc2758795739055 (patch)
treedd9f016eb9b88afb59ba89978880c7e21e662ed8 /include/asm-mips64/semaphore.h
parent37307e172b6f05fd49540704a50574ae2fec1b13 (diff)
The granted member of the semaphore must be unsigned long.
Diffstat (limited to 'include/asm-mips64/semaphore.h')
-rw-r--r--include/asm-mips64/semaphore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips64/semaphore.h b/include/asm-mips64/semaphore.h
index 2e164ab33..67c7b8772 100644
--- a/include/asm-mips64/semaphore.h
+++ b/include/asm-mips64/semaphore.h
@@ -195,7 +195,7 @@ struct rw_semaphore {
atomic_t count;
/* bit 0 means read bias granted;
bit 1 means write bias granted. */
- unsigned granted;
+ unsigned long granted;
wait_queue_head_t wait;
wait_queue_head_t write_bias_wait;
#if WAITQUEUE_DEBUG