[POWERPC] Prevent direct inclusion of <asm/rwsem.h>.
[deliverable/linux.git] / include / asm-powerpc / rwsem.h
index e929145e1e46700bdef35c903acb6725ef5c66e3..cefc14728cc567535f99ea6b417afa68ff667158 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _ASM_POWERPC_RWSEM_H
 #define _ASM_POWERPC_RWSEM_H
 
+#ifndef _LINUX_RWSEM_H
+#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
+#endif
+
 #ifdef __KERNEL__
 
 /*
This page took 0.024197 seconds and 5 git commands to generate.