projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36c282
)
[IA64] Prevent people from directly including <asm/rwsem.h>.
author
Robert P. J. Day
<rpjday@mindspring.com>
Wed, 18 Jul 2007 11:33:08 +0000
(07:33 -0400)
committer
Tony 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
patch
|
blob
|
history
diff --git
a/include/asm-ia64/rwsem.h
b/include/asm-ia64/rwsem.h
index 2d1640cc240a72adae31ec3033bbbdce37f96eb8..8aba06a7b0389cca8401c20a04029b3ec4ad454b 100644
(file)
--- a/
include/asm-ia64/rwsem.h
+++ b/
include/asm-ia64/rwsem.h
@@
-21,6
+21,10
@@
#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>