projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IA64] Prevent people from directly including <asm/rwsem.h>.
[deliverable/linux.git]
/
include
/
asm-ia64
/
rwsem.h
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>
This page took
0.023958 seconds
and
5
git commands to generate.