projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds
[cascardo/linux.git]
/
include
/
asm-powerpc
/
rwsem.h
diff --git
a/include/asm-powerpc/rwsem.h
b/include/asm-powerpc/rwsem.h
index
e929145
..
cefc147
100644
(file)
--- a/
include/asm-powerpc/rwsem.h
+++ b/
include/asm-powerpc/rwsem.h
@@
-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__
/*