diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-26 15:05:50 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 06:30:38 -0500 |
commit | c16a87ce063f79e0ec7d25ce2950e1bc6db03c72 (patch) | |
tree | b2fa9bfc28091bed14dc5c8be6af5f8b0c34af67 /arch/alpha | |
parent | d04fa5a3ba06c3b7a1c4a6860d0fa4825507a755 (diff) |
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/alpha')
-rw-r--r-- | arch/alpha/include/asm/rwsem.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/alpha/include/asm/rwsem.h b/arch/alpha/include/asm/rwsem.h index 19c9cc7ed94b..839a3fa20944 100644 --- a/arch/alpha/include/asm/rwsem.h +++ b/arch/alpha/include/asm/rwsem.h | |||
@@ -13,10 +13,6 @@ | |||
13 | #ifdef __KERNEL__ | 13 | #ifdef __KERNEL__ |
14 | 14 | ||
15 | #include <linux/compiler.h> | 15 | #include <linux/compiler.h> |
16 | #include <linux/list.h> | ||
17 | #include <linux/spinlock.h> | ||
18 | |||
19 | struct rwsem_waiter; | ||
20 | 16 | ||
21 | extern struct rw_semaphore *rwsem_down_read_failed(struct rw_semaphore *sem); | 17 | extern struct rw_semaphore *rwsem_down_read_failed(struct rw_semaphore *sem); |
22 | extern struct rw_semaphore *rwsem_down_write_failed(struct rw_semaphore *sem); | 18 | extern struct rw_semaphore *rwsem_down_write_failed(struct rw_semaphore *sem); |