]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] Prevent people from directly including <asm/rwsem.h>.
authorRobert P. J. Day <rpjday@mindspring.com>
Wed, 18 Jul 2007 11:33:08 +0000 (07:33 -0400)
committerTony Luck <tony.luck@intel.com>
Fri, 20 Jul 2007 18:27:11 +0000 (11:27 -0700)
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/rwsem.h

index 2d1640cc240a72adae31ec3033bbbdce37f96eb8..8aba06a7b0389cca8401c20a04029b3ec4ad454b 100644 (file)
 #ifndef _ASM_IA64_RWSEM_H
 #define _ASM_IA64_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>