summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/semaphore.h
diff options
context:
space:
mode:
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