aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/rwsem.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-10-23 12:16:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-23 12:16:56 -0400
commit5a439c565799cb8d290d71ce375e86be64d43a4b (patch)
treeb7933dced01add02249af35f5497e77cd11dbfdf /include/asm-xtensa/rwsem.h
parent94b6da5ab8293b04a300ba35c72eddfa94db8b02 (diff)
parent0025427eee4b5c005b4ac7a6489adc773e38611d (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6: xtensa: Add config files for Diamond 232L - Rev B processor variant xtensa: Fix io regions xtensa: Add support for the Sonic Ethernet device for the XT2000 board. xtensa: replace remaining __FUNCTION__ occurrences xtensa: use newer __SPIN_LOCK_UNLOCKED macro XTENSA: warn about including <asm/rwsem.h> directly.
Diffstat (limited to 'include/asm-xtensa/rwsem.h')
-rw-r--r--include/asm-xtensa/rwsem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-xtensa/rwsem.h b/include/asm-xtensa/rwsem.h
index 0aad3a587551..e39edf5c86f2 100644
--- a/include/asm-xtensa/rwsem.h
+++ b/include/asm-xtensa/rwsem.h
@@ -13,6 +13,10 @@
13#ifndef _XTENSA_RWSEM_H 13#ifndef _XTENSA_RWSEM_H
14#define _XTENSA_RWSEM_H 14#define _XTENSA_RWSEM_H
15 15
16#ifndef _LINUX_RWSEM_H
17#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
18#endif
19
16#include <linux/list.h> 20#include <linux/list.h>
17#include <linux/spinlock.h> 21#include <linux/spinlock.h>
18#include <asm/atomic.h> 22#include <asm/atomic.h>