Thomas Gleixner 41e5887fa3 rwsem: Unify the duplicate rwsem_is_locked() inlines
Instead of having the same implementation in each architecture, move
it to linux/rwsem.h and remove the duplicates. It's unlikely that an
arch will ever implement something different, but we can deal with
that when it happens.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Matt Turner <mattst88@gmail.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Acked-by: David Miller <davem@davemloft.net>
Cc: Chris Zankel <chris@zankel.net>
LKML-Reference: <20110126195833.876773757@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-01-27 12:30:39 +01:00
..
2010-11-04 12:32:24 +09:00
2010-01-27 22:36:25 +09:00
2010-06-14 18:02:13 +09:00
2010-05-11 11:48:47 +09:00
2010-11-01 09:49:04 -04:00
2010-07-06 17:37:32 +09:00
2010-10-07 14:08:55 +01:00
2010-06-14 15:16:53 +09:00
2010-06-09 11:12:36 +02:00
2010-03-10 16:29:48 +09:00
2010-05-11 13:32:19 +09:00
2010-01-13 19:11:14 +09:00
2011-01-11 14:39:35 +09:00
2011-01-13 15:20:40 +09:00
2010-01-20 16:42:52 +09:00
2010-05-11 13:32:19 +09:00
2010-04-26 19:08:55 +09:00
2010-04-26 19:08:55 +09:00
2010-03-12 15:52:32 -08:00