]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-xtensa/rwsem.h
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds
[linux-2.6-omap-h63xx.git] / include / asm-xtensa / rwsem.h
index 0aad3a5875516a3c640b5e7cddf41cf7c044225f..e39edf5c86f2da432c181f1e503c787137e4c623 100644 (file)
 #ifndef _XTENSA_RWSEM_H
 #define _XTENSA_RWSEM_H
 
+#ifndef _LINUX_RWSEM_H
+#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
+#endif
+
 #include <linux/list.h>
 #include <linux/spinlock.h>
 #include <asm/atomic.h>