diff options
Diffstat (limited to 'arch/x86/include/asm/rwsem.h')
-rw-r--r-- | arch/x86/include/asm/rwsem.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/rwsem.h b/arch/x86/include/asm/rwsem.h index c0c91b4ecc81..776d76fe2f90 100644 --- a/arch/x86/include/asm/rwsem.h +++ b/arch/x86/include/asm/rwsem.h | |||
@@ -222,10 +222,5 @@ static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) | |||
222 | return tmp + delta; | 222 | return tmp + delta; |
223 | } | 223 | } |
224 | 224 | ||
225 | static inline int rwsem_is_locked(struct rw_semaphore *sem) | ||
226 | { | ||
227 | return (sem->count != 0); | ||
228 | } | ||
229 | |||
230 | #endif /* __KERNEL__ */ | 225 | #endif /* __KERNEL__ */ |
231 | #endif /* _ASM_X86_RWSEM_H */ | 226 | #endif /* _ASM_X86_RWSEM_H */ |