summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-01-26 21:05:50 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-01-27 12:30:38 +0100
commitc16a87ce063f79e0ec7d25ce2950e1bc6db03c72 (patch)
treeb2fa9bfc28091bed14dc5c8be6af5f8b0c34af67 /arch/sparc/include
parentlocking: Remove deprecated lock initializers (diff)
downloadlinux-c16a87ce063f79e0ec7d25ce2950e1bc6db03c72.tar.xz
linux-c16a87ce063f79e0ec7d25ce2950e1bc6db03c72.zip
rwsem: Cleanup includes
All rwsem implementations include the same headers. Include them from include/linux/rwsem.h 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.483520950@linutronix.de>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/rwsem.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc/include/asm/rwsem.h b/arch/sparc/include/asm/rwsem.h
index a2b4302869bc..902d36bf150d 100644
--- a/arch/sparc/include/asm/rwsem.h
+++ b/arch/sparc/include/asm/rwsem.h
@@ -12,12 +12,6 @@
#endif
#ifdef __KERNEL__
-
-#include <linux/list.h>
-#include <linux/spinlock.h>
-
-struct rwsem_waiter;
-
struct rw_semaphore {
signed long count;
#define RWSEM_UNLOCKED_VALUE 0x00000000L