aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/rwsem.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/rwsem.h')
-rw-r--r--arch/sh/include/asm/rwsem.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/include/asm/rwsem.h b/arch/sh/include/asm/rwsem.h
index 798699d0687b..2f8cf9761eb5 100644
--- a/arch/sh/include/asm/rwsem.h
+++ b/arch/sh/include/asm/rwsem.h
@@ -133,10 +133,5 @@ static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem)
133 return atomic_add_return(delta, (atomic_t *)(&sem->count)); 133 return atomic_add_return(delta, (atomic_t *)(&sem->count));
134} 134}
135 135
136static inline int rwsem_is_locked(struct rw_semaphore *sem)
137{
138 return (sem->count != 0);
139}
140
141#endif /* __KERNEL__ */ 136#endif /* __KERNEL__ */
142#endif /* _ASM_SH_RWSEM_H */ 137#endif /* _ASM_SH_RWSEM_H */