aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/include/asm/rwsem.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/alpha/include/asm/rwsem.h b/arch/alpha/include/asm/rwsem.h
index c9f5b90e926e..fc7f54337c3a 100644
--- a/arch/alpha/include/asm/rwsem.h
+++ b/arch/alpha/include/asm/rwsem.h
@@ -224,10 +224,5 @@ static inline long rwsem_atomic_update(long val, struct rw_semaphore *sem)
224#endif 224#endif
225} 225}
226 226
227static inline int rwsem_is_locked(struct rw_semaphore *sem)
228{
229 return (sem->count != 0);
230}
231
232#endif /* __KERNEL__ */ 227#endif /* __KERNEL__ */
233#endif /* _ALPHA_RWSEM_H */ 228#endif /* _ALPHA_RWSEM_H */