diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-26 23:05:50 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 14:30:38 +0300 |
commit | c16a87ce063f79e0ec7d25ce2950e1bc6db03c72 (patch) | |
tree | b2fa9bfc28091bed14dc5c8be6af5f8b0c34af67 /arch/x86/include/asm/rwsem.h | |
parent | d04fa5a3ba06c3b7a1c4a6860d0fa4825507a755 (diff) | |
download | linux-c16a87ce063f79e0ec7d25ce2950e1bc6db03c72.tar.xz |
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/x86/include/asm/rwsem.h')
-rw-r--r-- | arch/x86/include/asm/rwsem.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/rwsem.h b/arch/x86/include/asm/rwsem.h index d1e41b0f9b60..a626cff86041 100644 --- a/arch/x86/include/asm/rwsem.h +++ b/arch/x86/include/asm/rwsem.h @@ -37,14 +37,8 @@ #endif #ifdef __KERNEL__ - -#include <linux/list.h> -#include <linux/spinlock.h> -#include <linux/lockdep.h> #include <asm/asm.h> -struct rwsem_waiter; - extern asmregparm struct rw_semaphore * rwsem_down_read_failed(struct rw_semaphore *sem); extern asmregparm struct rw_semaphore * |