Commit 09b1ed32 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: add rwlock_is_locked

parent 0b93ec0b
......@@ -214,5 +214,7 @@ static __inline__ int is_write_locked(rwlock_t *rw)
#define rwlock_init(x) do { *(x) = RW_LOCK_UNLOCKED; } while(0)
#define rwlock_is_locked(x) ((x)->lock)
#endif /* __KERNEL__ */
#endif /* __ASM_SPINLOCK_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment