From 0c6e7b6bd8049d916a117966afc2758795739055 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 17 Nov 2000 01:45:44 +0000 Subject: The granted member of the semaphore must be unsigned long. --- include/asm-mips/semaphore.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/asm-mips/semaphore.h') 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 -- cgit v1.2.3