Several places want to know whether the lock is held by a writer, instead
of just whether it's held. We can implement this for both normal and
rt rwsems. RWSEM_WRITER_LOCKED is declared in rwsem.c and exposing
it outside that file might tempt other people to use it, so just use
a comment to note that's what the 1 means, and help anybody find it if
they're looking to change the implementation.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>