locking, rwsem: Annotate inner lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Wed, 24 Feb 2010 08:54:54 +0000 (09:54 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2011 09:11:59 +0000 (11:11 +0200)
commitddb6c9b58a19edcfac93ac670b066c836ff729f1
tree70a9ab2dde08671a050424b0d70fa535472e1345
parent8292c9e15c3b069459794a04f5e2cf0d5665ddc4
locking, rwsem: Annotate inner lock as raw

There is no reason to allow the lock protecting rwsems (the
ownerless variant) to be preemptible on -rt. Convert it to raw.

In mainline this change documents the low level nature of
the lock - otherwise there's no functional difference. Lockdep
and Sparse checking will work as usual.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/rwsem-spinlock.h
include/linux/rwsem.h
lib/rwsem-spinlock.c
lib/rwsem.c