summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/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-mips/semaphore.h
parent37307e172b6f05fd49540704a50574ae2fec1b13 (diff)
The granted member of the semaphore must be unsigned long.
Diffstat (limited to 'include/asm-mips/semaphore.h')
-rw-r--r--include/asm-mips/semaphore.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-mips/semaphore.h b/include/asm-mips/semaphore.h
index 9be99be4b..19fb03efc 100644
--- a/include/asm-mips/semaphore.h
+++ b/include/asm-mips/semaphore.h
@@ -1,5 +1,4 @@
-/* $Id: semaphore.h,v 1.12 1999/12/08 22:05:10 harald Exp $
- *
+/*
* SMP- and interrupt-safe semaphores..
*
* This file is subject to the terms and conditions of the GNU General Public
@@ -215,7 +214,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